From c4a66d5fc2bfe40c8cc39613134d0df36310a989 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:18:20 +0100 Subject: [PATCH] obsolete iostat; added debug package [release 12.6.2-2mamba;Mon Nov 13 2023] --- sysstat.spec | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/sysstat.spec b/sysstat.spec index add6afe..0d87854 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,12 +1,12 @@ Name: sysstat Version: 12.6.2 -Release: 1mamba +Release: 2mamba Summary: System performance tools for Linux for Linux Group: System/Tools Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan -URL: http://sebastien.godard.pagesperso-orange.fr/ +Packager: Silvan Calarco +URL: https://end.pagesperso-orange.fr/ Source: http://pagesperso-orange.fr/sebastien.godard/sysstat-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN @@ -14,6 +14,7 @@ BuildRequires: glibc-devel BuildRequires: libsensors-devel ## AUTOBUILDREQ-END BuildRequires: systemd-devel +Obsoletes: iostat <= 2.2-3mamba %description The sysstat package contains the sar, sadf, mpstat, iostat, pidstat, nfsiostat, cifsiostat and sa tools for Linux. @@ -28,6 +29,8 @@ The pidstat command reports statistics for Linux tasks (processes). The nfsiostat command reports I/O statistics for network filesystems. The cifsiostat command reports I/O statistics for CIFS filesystems. +%debug_package + %prep %setup -q @@ -59,21 +62,24 @@ install -m 0644 sysstat.service %{buildroot}%{_unitdir}/ %post %systemd_post sysstat.service -exit 0 +: %preun %systemd_preun sysstat.service if [ $1 -eq 0 ]; then rm -f %{_localstatedir}/log/sa/* fi -exit 0 +: %postun %systemd_postun sysstat.service -exit 0 +: %files -f %{name}.lang %defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/cron.d/sysstat +%config(noreplace) %{_sysconfdir}/sysconfig/sysstat +%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf %{_bindir}/cifsiostat %{_bindir}/iostat %{_bindir}/mpstat @@ -85,9 +91,6 @@ exit 0 %{_libdir}/sa/sa1 %{_libdir}/sa/sa2 %{_libdir}/sa/sadc -%config(noreplace) %{_sysconfdir}/cron.d/sysstat -%config(noreplace) %{_sysconfdir}/sysconfig/sysstat -%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf %{_localstatedir}/log/sa %{_unitdir}/sysstat.service %{_mandir}/man1/* @@ -98,6 +101,9 @@ exit 0 %doc COPYING CREDITS %changelog +* Mon Nov 13 2023 Silvan Calarco 12.6.2-2mamba +- obsolete iostat; added debug package + * Tue Jan 31 2023 Automatic Build System 12.6.2-1mamba - automatic version update by autodist