From 0eb43c175e8cbcc81c54d354cbda10b136d0b07c Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 25 Apr 2016 17:56:16 +0530 Subject: [PATCH] Thanks to Petr Viktorin (rh#1330005) for correcting dependencies --- python-cpuinfo.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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