From 4676a9721265f3469433b1c070cad9d5b1f7cb20 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 25 2018 08:07:39 +0000 Subject: Use the py2 version of the macros Signed-off-by: Pierre-Yves Chibon --- diff --git a/python-restkit.spec b/python-restkit.spec index 19e49d5..066e058 100644 --- a/python-restkit.spec +++ b/python-restkit.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 4.2.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Restkit is an HTTP resource kit for Python License: MIT URL: http://benoitc.github.com/restkit/ @@ -40,11 +40,11 @@ rm -rf %{pypi_name}.egg-info %patch0 -p0 %build -%{__python} setup.py build +%{__python2} setup.py build %install -%{__python} setup.py install -O1 --skip-build --root %{buildroot} --install-data %{_docdir} +%{__python2} setup.py install -O1 --skip-build --root %{buildroot} --install-data %{_docdir} # remove zero-length file rm %{buildroot}%{_docdir}/%{pypi_name}/TODO.txt # strip shebang from non-executable file @@ -57,11 +57,14 @@ nosetests --exclude="009-test-oauth_filter" %files -n python2-%{pypi_name} %doc %{_docdir}/%{pypi_name}/ %{_bindir}/restcli -%{python_sitelib}/restkit* +%{python2_sitelib}/restkit* # exclude the test files that get into %%{python_sitelib} -%exclude %{python_sitelib}/tests +%exclude %{python2_sitelib}/tests %changelog +* Wed Jul 25 2018 Pierre-Yves Chibon - 4.2.2-12 +- Use the py2 version of the macros + * Sat Jul 14 2018 Fedora Release Engineering - 4.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild