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}
|
Name: python-%{srcname}
|
||||||
Version: 5.0.0
|
Version: 5.0.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -63,7 +63,6 @@ sed -i -e '/^#!\//, 1d' cpuinfo/cpuinfo.py
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
mv %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -72,12 +71,15 @@ mv %{buildroot}/%{_bindir}/cpuinfo %{buildroot}/%{_bindir}/cpuinfo-3
|
|||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%doc README.rst ChangeLog
|
%doc README.rst ChangeLog
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/cpuinfo-3
|
%{_bindir}/cpuinfo
|
||||||
%{python3_sitelib}/%{srcname}/
|
%{python3_sitelib}/%{srcname}/
|
||||||
%{python3_sitelib}/py_%{srcname}-%{version}-py3.*.egg-info
|
%{python3_sitelib}/py_%{srcname}-%{version}-py3.*.egg-info
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Mar 23 2019 Parag Nemade <pnemade AT redhat DOT com> - 5.0.0-1
|
||||||
- Update to 5.0.0 version (#1691106)
|
- Update to 5.0.0 version (#1691106)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user