Drop the versioned binary and restore to original path name

epel9
Parag Nemade 6 years ago
parent 06e8b19873
commit 160d7d5180
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

@ -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…
Cancel
Save