Move py3_other macros to srpm-macros
This commit is contained in:
parent
b2fc537309
commit
cbf9c3d9a6
@ -51,8 +51,3 @@ CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} install -O1 --ski
|
|||||||
print("not recognized.");\
|
print("not recognized.");\
|
||||||
end\
|
end\
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set to /bin/true to avoid %ifdefs in specfiles
|
|
||||||
%__python3_other /bin/true
|
|
||||||
%py3_other_build /bin/true
|
|
||||||
%py3_other_install /bin/true
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
|
# python3_pkgversion specifies the version of Python 3 in the distro. It can be
|
||||||
# a specific version (e.g. 34 in Fedora EPEL7)
|
# a specific version (e.g. 34 in Fedora EPEL7)
|
||||||
%python3_pkgversion 3
|
%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
|
||||||
|
Loading…
Reference in New Issue
Block a user