|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 0.2.3
|
|
|
|
Version: 0.2.3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: %{sum}
|
|
|
|
Summary: %{sum}
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -74,11 +74,9 @@ rm -rf *.egg-info
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
cp -p %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
|
|
|
cp -p %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
|
|
|
#sed -i '1s|^#!python|#!%{__python3}|' %{buildroot}/%{_bindir}/cpuinfo-3
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__python2} setup.py test
|
|
|
|
%{__python2} setup.py test
|
|
|
@ -100,6 +98,9 @@ cp -p %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Sat Apr 23 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.2.3-1
|
|
|
|
- Update to 0.2.3 release (rh#1311530)
|
|
|
|
- Update to 0.2.3 release (rh#1311530)
|
|
|
|
- Added %%license tag
|
|
|
|
- Added %%license tag
|
|
|
|