Move the __python2/3 macros to the python-srpm-macros subpackage
This facilitates using the %%{__python2/3} in Build/Requires
This commit is contained in:
parent
8f067ff385
commit
beaa2eec4f
4 changed files with 14 additions and 3 deletions
|
|
@ -1,3 +1,10 @@
|
|||
# Define the Python interpreter paths in the SRPM macros so that
|
||||
# - they can be used in Build/Requires
|
||||
# - they can be used in non-Python packages where requiring pythonX-devel would
|
||||
# be an overkill
|
||||
%__python2 /usr/bin/python2
|
||||
%__python3 /usr/bin/python3
|
||||
|
||||
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
|
||||
# a specific version (e.g. 34 in Fedora EPEL7)
|
||||
%python3_pkgversion 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue