From 853413c4957b8690895fc1229080c8fecbedec4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 13 Feb 2019 00:52:22 +0100 Subject: [PATCH] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- pyxattr.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyxattr.spec b/pyxattr.spec index 496b644..6010a83 100644 --- a/pyxattr.spec +++ b/pyxattr.spec @@ -57,7 +57,7 @@ CFLAGS="%{optflags}" %{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build +%py3_build popd %endif # with_python3 @@ -66,7 +66,7 @@ popd %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --root="%{buildroot}" --prefix="%{_prefix}" +%py3_install popd %endif # with_python3