diff --git a/macros.python b/macros.python index 3dea0e6..65a7e5b 100644 --- a/macros.python +++ b/macros.python @@ -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 diff --git a/macros.python-srpm b/macros.python-srpm index 4257beb..87ce887 100644 --- a/macros.python-srpm +++ b/macros.python-srpm @@ -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