diff --git a/SPECS/sos.spec b/SPECS/sos.spec index 4fc7cde..9dad486 100644 --- a/SPECS/sos.spec +++ b/SPECS/sos.spec @@ -5,7 +5,7 @@ Summary: A set of tools to gather troubleshooting information from a system Name: sos Version: 4.0 -Release: 7%{?dist} +Release: 8%{?dist} Group: Applications/System Source0: https://github.com/sosreport/sos/archive/%{version}/sos-%{version}.tar.gz Source1: sos-audit-%{auditversion}.tgz @@ -86,6 +86,8 @@ cd %{name}-audit-%{auditversion} DESTDIR=%{buildroot} ./install.sh cd .. +mkdir -p %{buildroot}%{_sysconfdir}/sos/cleaner + %files -f %{name}.lang %{_sbindir}/sosreport %{_sbindir}/sos @@ -102,6 +104,7 @@ cd .. %doc AUTHORS README.md %license LICENSE %config(noreplace) %{_sysconfdir}/sos/sos.conf +%config(noreplace) %{_sysconfdir}/sos/cleaner %package audit Summary: Audit use of some commands for support purposes @@ -130,6 +133,10 @@ of the system. Currently storage and filesystem commands are audited. %ghost /etc/audit/rules.d/40-sos-storage.rules %changelog +* Tue Feb 16 2021 Pavel Moravec = 4.0-8 +- Automatically create directory for sos-cleaner default_mapping + Resolves: bz1923937 + * Fri Jan 29 2021 Pavel Moravec = 4.0-7 - [kdump] Gather the file kexec-dmesg.log Resolves: bz1887402