diff --git a/python-cpuinfo.spec b/python-cpuinfo.spec index e5e0cf6..1ec9777 100644 --- a/python-cpuinfo.spec +++ b/python-cpuinfo.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: MIT @@ -74,11 +74,9 @@ rm -rf *.egg-info %py3_build %install -%py2_install %py3_install - cp -p %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3 -#sed -i '1s|^#!python|#!%{__python3}|' %{buildroot}/%{_bindir}/cpuinfo-3 +%py2_install %check %{__python2} setup.py test @@ -100,6 +98,9 @@ cp -p %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3 %changelog +* Mon Apr 25 2016 Parag Nemade - 0.2.3-2 +- Thanks to Petr Viktorin (rh#1330005) for correcting dependencies + * Sat Apr 23 2016 Parag Nemade - 0.2.3-1 - Update to 0.2.3 release (rh#1311530) - Added %%license tag