From a7f8b77094eaa41f73c26f47c8fe44d89f7403f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 13 Feb 2019 00:50:32 +0100 Subject: [PATCH] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- python-wrapt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-wrapt.spec b/python-wrapt.spec index 3cb891a..1af1d91 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -72,7 +72,7 @@ cp -a . %{py3dir} CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%py3_build popd %endif @@ -86,7 +86,7 @@ popd %install %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --skip-build --root %{buildroot} +%py3_install popd %endif %{__python2} setup.py install --skip-build --root %{buildroot}