Thanks to Petr Viktorin (rh#1330005) for correcting dependencies

epel9
Parag Nemade 9 years ago
parent 952074b2dc
commit 0eb43c175e

@ -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 <pnemade AT redhat DOT com> - 0.2.3-2
- Thanks to Petr Viktorin (rh#1330005) for correcting dependencies
* Sat Apr 23 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.2.3-1
- Update to 0.2.3 release (rh#1311530)
- Added %%license tag

Loading…
Cancel
Save