From 4a5a3977d1d31f13a223039de03ffae31583745e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 13 Feb 2019 00:44:39 +0100 Subject: [PATCH] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- python-gssapi.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-gssapi.spec b/python-gssapi.spec index 49d6f03..272c4dd 100644 --- a/python-gssapi.spec +++ b/python-gssapi.spec @@ -91,7 +91,7 @@ CFLAGS="%{optflags}" %{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build +%py3_build popd %endif @@ -99,7 +99,7 @@ popd %install %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --skip-build --root %{buildroot} +%py3_install # fix permissions on shared objects (mock seems to set them # to 0775, whereas a normal build gives 0755)