Make %__python /usr/bin/python once again until we are ready
See https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/22#comment-26552 and further.
This commit is contained in:
parent
04769fa014
commit
cf8051e7f5
2 changed files with 7 additions and 3 deletions
|
|
@ -5,8 +5,9 @@
|
|||
%__python2 /usr/bin/python2
|
||||
%__python3 /usr/bin/python3
|
||||
|
||||
# This now errors unless redefined to user provided value
|
||||
%__python %{error:attempt to use unversioned python, define %%__python to /usr/bin/python2 or /usr/bin/python3 explicitly}
|
||||
# For backwards compatibility only
|
||||
# See the comments in https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/22
|
||||
%__python /usr/bin/python
|
||||
|
||||
|
||||
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue