diff --git a/python-sieve.spec b/python-sieve.spec index ef7fadd..5fbbca0 100644 --- a/python-sieve.spec +++ b/python-sieve.spec @@ -6,7 +6,7 @@ Name: python-sieve Version: 0.1.9 -Release: 11%{?dist} +Release: 12%{?dist} Summary: XML Comparison Utils Group: Development/Libraries @@ -108,7 +108,7 @@ cp -a . %{py3dir} %build -%{__python} setup.py build +%{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} @@ -124,10 +124,10 @@ pushd %{py3dir} popd %endif -%{__python} setup.py install -O1 --skip-build --root=%{buildroot} +%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} %check -%{__python} setup.py test +%{__python2} setup.py test %if 0%{?with_python3} pushd %{py3dir} @@ -138,8 +138,8 @@ popd %files -n python2-sieve %doc README.rst LICENSE.txt -%{python_sitelib}/%{modname} -%{python_sitelib}/%{modname}-%{version}* +%{python2_sitelib}/%{modname} +%{python2_sitelib}/%{modname}-%{version}* %if 0%{?with_python3} %files -n python3-%{modname} @@ -151,6 +151,9 @@ popd %changelog +* Wed Jul 25 2018 Pierre-Yves Chibon - 0.1.9-12 +- Use the py2 version of the macros + * Sat Jul 14 2018 Fedora Release Engineering - 0.1.9-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild