diff --git a/python-gearbox.spec b/python-gearbox.spec index 9e14789..74abf45 100644 --- a/python-gearbox.spec +++ b/python-gearbox.spec @@ -6,7 +6,7 @@ Name: python-gearbox Version: 0.1.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Command line toolkit born as a PasteScript replacement for TurboGears2 Group: Development/Libraries @@ -73,7 +73,7 @@ cp -a . %{py3dir} %build -%{__python} setup.py build +%{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} %{__python3} setup.py build @@ -89,14 +89,14 @@ pushd %{py3dir} mv %{buildroot}%{_bindir}/gearbox %{buildroot}%{_bindir}/gearbox-3 popd %endif -%{__python} setup.py install -O1 --skip-build --root=%{buildroot} +%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} %files -n python2-gearbox %doc README.rst %{_bindir}/gearbox -%{python_sitelib}/%{modname}/ -%{python_sitelib}/%{modname}-%{version}-* +%{python2_sitelib}/%{modname}/ +%{python2_sitelib}/%{modname}-%{version}-* %if 0%{?with_python3} %files -n python3-gearbox @@ -107,6 +107,9 @@ popd %endif %changelog +* Wed Jul 25 2018 Pierre-Yves Chibon - 0.1.1-12 +- Use the py2 version of the macros + * Sat Jul 14 2018 Fedora Release Engineering - 0.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild