From 2094d2dce801730bff0a7c9641cf0cf931f0804a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 25 2018 08:43:07 +0000 Subject: Use the py2 version of the macros Signed-off-by: Pierre-Yves Chibon --- diff --git a/python-m2ext.spec b/python-m2ext.spec index 96b728c..b801b5d 100644 --- a/python-m2ext.spec +++ b/python-m2ext.spec @@ -6,7 +6,7 @@ Name: python-m2ext Version: 0.1 -Release: 18%{?dist} +Release: 19%{?dist} Summary: M2Crypto Extensions Group: Development/Languages @@ -47,22 +47,25 @@ if pkg-config openssl ; then LDFLAGS="$LDFLAGS`pkg-config --libs-only-L openssl`" ; export LDFLAGS fi -%{__python} setup.py build +%{__python2} setup.py build %install -%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%{__python2} setup.py install -O1 --skip-build --root %{buildroot} -chmod 755 %{buildroot}/%{python_sitearch}/%{modname}/_m2ext.so +chmod 755 %{buildroot}/%{python2_sitearch}/%{modname}/_m2ext.so %files -n python2-m2ext %doc README.rst LICENSE -%{python_sitearch}/%{modname} -%{python_sitearch}/%{modname}-%{version}* +%{python2_sitearch}/%{modname} +%{python2_sitearch}/%{modname}-%{version}* %changelog +* Wed Jul 25 2018 Pierre-Yves Chibon - 0.1-19 +- Use the py2 version of the macros + * Sat Jul 14 2018 Fedora Release Engineering - 0.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild