diff --git a/3.9.1.tar.gz b/3.9.1.tar.gz deleted file mode 100644 index 3625ca0dd96b910aa14f474a0423cce18419d7bc..0000000000000000000000000000000000000000 Binary files a/3.9.1.tar.gz and /dev/null differ diff --git a/sos-4.0.tar.gz b/sos-4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..121da4685cf1051bd69c9fabbde9811df776b739 Binary files /dev/null and b/sos-4.0.tar.gz differ diff --git a/sos.spec b/sos.spec index 98f2c64dbbe29ecea2388cf62f5e3de3f8f6d569..dcf37a2145197925c378283a9482db22d6cd60ef 100644 --- a/sos.spec +++ b/sos.spec @@ -1,12 +1,12 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: sos -Version: 3.9.1 -Release: 3 +Version: 4.0 +Release: 1 Summary: A set of tools to gather troubleshooting information from a system License: GPLv2+ URL: https://github.com/sosreport/sos -Source0: https://github.com/sosreport/sos/archive/%{version}.tar.gz +Source0: https://github.com/sosreport/sos/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0000: 0001-hoperun-openeuler-sos-policy.patch BuildRequires: python3-devel gettext python3-six Requires: libxml2-python3 bzip2 xz python3-six @@ -35,16 +35,20 @@ install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf %license LICENSE %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/sos.conf -%{_sbindir}/sosreport +%{_sbindir}/sos* %{python3_sitelib}/* +%exclude %{_datadir}/doc/sos/{AUTHORS,README.md} %files help %defattr(-,root,root) %doc AUTHORS README.md -%{_mandir}/man1/sosreport.1.gz -%{_mandir}/man5/sos.conf.5.gz +%{_mandir}/man1/* +%{_mandir}/man5/* %changelog +* Tue Feb 02 2021 shixuantong - 4.0-1 +- Upgrade to version 4.0 + * Mon Jul 13 2020 Jeffery.Gao - 3.9.1-3 - Append openEuler policy