diff --git a/python-pylibravatar.spec b/python-pylibravatar.spec index 7895e83..179ceac 100644 --- a/python-pylibravatar.spec +++ b/python-pylibravatar.spec @@ -7,7 +7,7 @@ Name: python-pylibravatar Version: 1.6 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Python module for Libravatar Group: Development/Libraries @@ -72,7 +72,7 @@ cp -a . %{py3dir} %endif %build -%{__python} setup.py build +%{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} %{__python3} setup.py build @@ -85,14 +85,14 @@ pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} popd %endif -%{__python} setup.py install -O1 --skip-build --root=%{buildroot} +%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} %files -n python2-pylibravatar # Upstream doesn't ship the license full text # https://bugs.launchpad.net/pylibravatar/+bug/1173603 %doc README.txt Changelog.txt -%{python_sitelib}/%{modname}.py* -%{python_sitelib}/%{eggname}-%{version}* +%{python2_sitelib}/%{modname}.py* +%{python2_sitelib}/%{eggname}-%{version}* %if 0%{?with_python3} %files -n python3-pylibravatar @@ -105,6 +105,9 @@ popd %endif %changelog +* Wed Jul 25 2018 Pierre-Yves Chibon - 1.6-18 +- Use the py2 version of the macros + * Sat Jul 14 2018 Fedora Release Engineering - 1.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild