From 3b9aab5db2489de15d5a0236b61081b72482308f Mon Sep 17 00:00:00 2001 From: Robert Kuska Date: Mon, 3 Mar 2014 16:16:29 +0100 Subject: [PATCH] Fix macros to reflect changes in packaging guide --- python-whoosh.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-whoosh.spec b/python-whoosh.spec index 171efbb..b682971 100644 --- a/python-whoosh.spec +++ b/python-whoosh.spec @@ -52,7 +52,7 @@ cp -a . %{py3dir} %endif %build -%{__python} setup.py build +%{__python2} setup.py build sphinx-build docs/source docs/html rm -f docs/html/.buildinfo rm -rf docs/html/.doctrees @@ -66,7 +66,7 @@ popd %endif %check -%{__python} setup.py test +%{__python2} setup.py test %if 0%{with_python3} pushd %{py3dir} @@ -75,7 +75,7 @@ popd %endif %install -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %if 0%{?with_python3} pushd %{py3dir} @@ -85,8 +85,8 @@ popd %files %doc docs/html/ README.txt LICENSE.txt -%{python_sitelib}/*.egg-info/ -%{python_sitelib}/whoosh +%{python2_sitelib}/*.egg-info/ +%{python2_sitelib}/whoosh %if 0%{?with_python3} %files -n python3-whoosh