[Rpm-maint] [rpm-software-management/rpm] macros: make unversioned python macros not expand to empty (#469)
Zbigniew Jędrzejewski-Szmek
notifications at github.com
Tue Jul 17 11:08:27 UTC 2018
In Fedora the removal of /usr/bin/python in favour of explicit
/usr/bin/python2 and /usr/bin/python3 is happening now. Unless
python-unversioned-command.rpm is installed, /usr/bin/python does not
exists. This means that packages use
%python_{sitelib,sitearch,version}, they get a warning in the build
log, and the macro evaluates to an empty string.
It seems better to keep the unexpanded macro instead, as if it wasn't
defined at all.
See https://bugzilla.redhat.com/show_bug.cgi?id=1585626#c4.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/469
-- Commit Summary --
* macros: make unversioned python macros not expand to empty when the executable is not installed
-- File Changes --
M macros.in (6)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/469.patch
https://github.com/rpm-software-management/rpm/pull/469.diff
--
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/pull/469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180717/2b68d407/attachment.html>
More information about the Rpm-maint
mailing list