[Rpm-maint] [rpm-software-management/rpm] RFE: %{_system_bindir} and such macro (#721)
Igor Gnatenko
notifications at github.com
Thu May 30 06:58:31 UTC 2019
When people build with RPMs as part of flatpaks, they are changing %_bindir to /app/whatsoever which is entirely valid case. But that means, you can't rely on `BuildRequires: %{_bindir}/foo`. Specifying /usr/bin/foo in BRs is ugly as well (because what if base system is actually installed in different location).
I think we need to add some number of `%_system_…` macro which will be set during build of RPM and won't change when you change %_bindir` for example.
xref: https://pagure.io/packaging-committee/pull-request/847
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/721
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190529/d095b69c/attachment.html>
More information about the Rpm-maint
mailing list