Update to 5.6.7. Fixes CVE-2019-18874
This commit is contained in:
parent
7a3ec69971
commit
0e93168108
|
@ -10,8 +10,8 @@ ifconfig, nice, ionice, iostat, iotop, uptime, pidof, tty, who, taskset, pmap.
|
|||
%global _sum A process and system utilities module for Python
|
||||
|
||||
Name: python-psutil
|
||||
Version: 2.2.1
|
||||
Release: 6%{?dist}
|
||||
Version: 5.6.7
|
||||
Release: 1%{?dist}
|
||||
Summary: %{_sum}
|
||||
|
||||
Group: Development/Languages
|
||||
|
@ -58,7 +58,7 @@ BuildRequires: python%{python3_other_pkgversion}-devel
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
%autosetup -p1 -n %{srcname}-release-%{version}
|
||||
|
||||
# Remove shebangs
|
||||
for file in psutil/*.py; do
|
||||
|
@ -85,38 +85,41 @@ done
|
|||
|
||||
%files -n python2-psutil
|
||||
%license LICENSE
|
||||
%doc CREDITS HISTORY.rst README.rst TODO
|
||||
%doc CREDITS HISTORY.rst README.rst
|
||||
%{python2_sitearch}/%{srcname}/
|
||||
%{python2_sitearch}/*.egg-info
|
||||
%{python2_sitearch}/*.so
|
||||
%{python2_sitearch}/%{srcname}/*.so
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-psutil
|
||||
%license LICENSE
|
||||
%doc CREDITS HISTORY.rst README.rst TODO
|
||||
%doc CREDITS HISTORY.rst README.rst
|
||||
%{python3_sitearch}/%{srcname}/
|
||||
%{python3_sitearch}/*.egg-info
|
||||
%{python3_sitearch}/*.so
|
||||
%{python3_sitearch}/%{srcname}/*.so
|
||||
|
||||
|
||||
%if 0%{?python3_other_pkgversion}
|
||||
%files -n python%{python3_other_pkgversion}-psutil
|
||||
%license LICENSE
|
||||
%doc CREDITS HISTORY.rst README.rst TODO
|
||||
%doc CREDITS HISTORY.rst README.rst
|
||||
%{python3_other_sitearch}/%{srcname}/
|
||||
%{python3_other_sitearch}/*.egg-info
|
||||
%{python3_other_sitearch}/*.so
|
||||
%{python3_other_sitearch}/%{srcname}/*.so
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 16 2020 Kevin Fenzi <kevin@scrye.com> - 5.6.7-1
|
||||
- Update to 5.6.7. Fixes CVE-2019-18874
|
||||
|
||||
* Sat May 04 2019 Kevin Fenzi <kevin@scrye.com> - 2.2.1-6
|
||||
- Clean up spec and source/upstream.
|
||||
|
||||
* Fri Mar 08 2019 Troy Dawson <tdawson@redhat.com> - 2.2.1-5
|
||||
- Rebuilt to change main python from 3.4 to 3.6
|
||||
|
||||
* Sun Nov 12 2018 Orion Poplawski <orion@nwra.com> - 2.2.1-4
|
||||
* Mon Nov 12 2018 Orion Poplawski <orion@nwra.com> - 2.2.1-4
|
||||
- Build for python36
|
||||
|
||||
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 2.2.1-3
|
||||
|
|
Loading…
Reference in New Issue