Drop the versioned binary and restore to original path name
This commit is contained in:
parent
06e8b19873
commit
160d7d5180
@ -4,7 +4,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 5.0.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: %{sum}
|
||||
|
||||
License: MIT
|
||||
@ -63,7 +63,6 @@ sed -i -e '/^#!\//, 1d' cpuinfo/cpuinfo.py
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
mv %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
||||
|
||||
|
||||
%check
|
||||
@ -72,12 +71,15 @@ mv %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
||||
%files -n python3-%{srcname}
|
||||
%doc README.rst ChangeLog
|
||||
%license LICENSE
|
||||
%{_bindir}/cpuinfo-3
|
||||
%{_bindir}/cpuinfo
|
||||
%{python3_sitelib}/%{srcname}/
|
||||
%{python3_sitelib}/py_%{srcname}-%{version}-py3.*.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 23 2019 Parag Nemade <pnemade AT redhat DOT com> - 5.0.0-2
|
||||
- Drop the versioned binary and restore to original path name
|
||||
|
||||
* Sat Mar 23 2019 Parag Nemade <pnemade AT redhat DOT com> - 5.0.0-1
|
||||
- Update to 5.0.0 version (#1691106)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user