From 7088cacd4b3187eadecc467a6ea7f856e31a1a94 Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Mon, 3 Apr 2023 10:51:21 +0200 Subject: [PATCH] Update to 4.5.2 Resolves: rhbz#2183722 Signed-off-by: Sandro Bonazzola --- .gitignore | 1 + sos.spec | 13 +++++++++++-- sources | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 860f48b..d907d1a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ sos-2.2.tar.gz /4.4.tar.gz /4.5.0.tar.gz /4.5.1.tar.gz +/4.5.2.tar.gz diff --git a/sos.spec b/sos.spec index 998eb0e..5dbe252 100644 --- a/sos.spec +++ b/sos.spec @@ -1,7 +1,7 @@ Summary: A set of tools to gather troubleshooting information from a system Name: sos -Version: 4.5.1 -Release: 2%{?dist} +Version: 4.5.2 +Release: 1%{?dist} Source0: https://github.com/sosreport/sos/archive/%{version}.tar.gz License: GPL-2.0-or-later BuildArch: noarch @@ -17,6 +17,8 @@ Requires: python3-requests Recommends: python3-pyyaml Obsoletes: sos-collector <= 1.9 Requires: python3-setuptools +# For the _tmpfilesdir macro. +BuildRequires: systemd %description Sos is a set of tools that gathers information about system @@ -39,6 +41,8 @@ install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/presets.d install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/groups.d install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}/extras.d install -m 644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf +install -d -m 755 %{buildroot}%{_tmpfilesdir} +install -m 644 tmpfiles/tmpfilesd-sos-rh.conf %{buildroot}%{_tmpfilesdir}/%{name}.conf rm -rf %{buildroot}/usr/config/ @@ -54,6 +58,7 @@ rm -rf %{buildroot}/usr/config/ %dir /etc/sos/presets.d %dir /etc/sos/extras.d %dir /etc/sos/groups.d +%{_tmpfilesdir}/%{name}.conf %{python3_sitelib}/* %{_mandir}/man1/* %{_mandir}/man5/* @@ -62,6 +67,10 @@ rm -rf %{buildroot}/usr/config/ %config(noreplace) %{_sysconfdir}/sos/sos.conf %changelog +* Mon Apr 03 2023 Sandro Bonazzola - 4.5.2-1 +- Update to 4.5.2 +- Resolves: rhbz#2183722 + * Fri Mar 17 2023 Sandro Bonazzola - 4.5.1-2 - migrated to SPDX license diff --git a/sources b/sources index 5e30dd2..5694c1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (4.5.1.tar.gz) = d42b6a236acac69050141109add54913b33f827f410c9b74c14d3b54d2fea2f9d9d8fc8195b85807149c5c0e6c92e3513f935c2d30d00094ead748f6fee38be5 +SHA512 (4.5.2.tar.gz) = 82fa33ac76607bfc64136c94d317dbb6715c771aff1147a1b190e6e502403f0c1bb4b65ba43c9a5413a38b202314e98e27fc954bc507934bbb6b76de9fe8dc77