Move py3_other macros to srpm-macros

This commit is contained in:
Orion Poplawski 2016-01-14 15:32:18 -07:00
parent b2fc537309
commit cbf9c3d9a6
2 changed files with 5 additions and 5 deletions

View File

@ -51,8 +51,3 @@ CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} install -O1 --ski
print("not recognized.");\
end\
}
# Set to /bin/true to avoid %ifdefs in specfiles
%__python3_other /bin/true
%py3_other_build /bin/true
%py3_other_install /bin/true

View File

@ -1,3 +1,8 @@
# 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
# Set to /bin/true to avoid %ifdefs and %{? in specfiles
%__python3_other /bin/true
%py3_other_build /bin/true
%py3_other_install /bin/true