!8 Upgrade to version 4.0
From: @tong_1001 Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
f46db51c1b
BIN
3.9.1.tar.gz
BIN
3.9.1.tar.gz
Binary file not shown.
BIN
sos-4.0.tar.gz
Normal file
BIN
sos-4.0.tar.gz
Normal file
Binary file not shown.
16
sos.spec
16
sos.spec
@ -1,12 +1,12 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
Name: sos
|
Name: sos
|
||||||
Version: 3.9.1
|
Version: 4.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: A set of tools to gather troubleshooting information from a system
|
Summary: A set of tools to gather troubleshooting information from a system
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/sosreport/sos
|
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
|
Patch0000: 0001-hoperun-openeuler-sos-policy.patch
|
||||||
BuildRequires: python3-devel gettext python3-six
|
BuildRequires: python3-devel gettext python3-six
|
||||||
Requires: libxml2-python3 bzip2 xz python3-six
|
Requires: libxml2-python3 bzip2 xz python3-six
|
||||||
@ -35,16 +35,20 @@ install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) %{_sysconfdir}/sos.conf
|
%config(noreplace) %{_sysconfdir}/sos.conf
|
||||||
%{_sbindir}/sosreport
|
%{_sbindir}/sos*
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
%exclude %{_datadir}/doc/sos/{AUTHORS,README.md}
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README.md
|
%doc AUTHORS README.md
|
||||||
%{_mandir}/man1/sosreport.1.gz
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/sos.conf.5.gz
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 02 2021 shixuantong <shixuantong@huawei.com> - 4.0-1
|
||||||
|
- Upgrade to version 4.0
|
||||||
|
|
||||||
* Mon Jul 13 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.9.1-3
|
* Mon Jul 13 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.9.1-3
|
||||||
- Append openEuler policy
|
- Append openEuler policy
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user