obsolete iostat; added debug package [release 12.6.2-2mamba;Mon Nov 13 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:18:20 +01:00
parent d7bcaf68a9
commit c4a66d5fc2

View File

@ -1,12 +1,12 @@
Name: sysstat Name: sysstat
Version: 12.6.2 Version: 12.6.2
Release: 1mamba Release: 2mamba
Summary: System performance tools for Linux for Linux Summary: System performance tools for Linux for Linux
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sebastien.godard.pagesperso-orange.fr/ URL: https://end.pagesperso-orange.fr/
Source: http://pagesperso-orange.fr/sebastien.godard/sysstat-%{version}.tar.xz Source: http://pagesperso-orange.fr/sebastien.godard/sysstat-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -14,6 +14,7 @@ BuildRequires: glibc-devel
BuildRequires: libsensors-devel BuildRequires: libsensors-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: systemd-devel BuildRequires: systemd-devel
Obsoletes: iostat <= 2.2-3mamba
%description %description
The sysstat package contains the sar, sadf, mpstat, iostat, pidstat, nfsiostat, cifsiostat and sa tools for Linux. 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 nfsiostat command reports I/O statistics for network filesystems.
The cifsiostat command reports I/O statistics for CIFS filesystems. The cifsiostat command reports I/O statistics for CIFS filesystems.
%debug_package
%prep %prep
%setup -q %setup -q
@ -59,21 +62,24 @@ install -m 0644 sysstat.service %{buildroot}%{_unitdir}/
%post %post
%systemd_post sysstat.service %systemd_post sysstat.service
exit 0 :
%preun %preun
%systemd_preun sysstat.service %systemd_preun sysstat.service
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
rm -f %{_localstatedir}/log/sa/* rm -f %{_localstatedir}/log/sa/*
fi fi
exit 0 :
%postun %postun
%systemd_postun sysstat.service %systemd_postun sysstat.service
exit 0 :
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/cron.d/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf
%{_bindir}/cifsiostat %{_bindir}/cifsiostat
%{_bindir}/iostat %{_bindir}/iostat
%{_bindir}/mpstat %{_bindir}/mpstat
@ -85,9 +91,6 @@ exit 0
%{_libdir}/sa/sa1 %{_libdir}/sa/sa1
%{_libdir}/sa/sa2 %{_libdir}/sa/sa2
%{_libdir}/sa/sadc %{_libdir}/sa/sadc
%config(noreplace) %{_sysconfdir}/cron.d/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf
%{_localstatedir}/log/sa %{_localstatedir}/log/sa
%{_unitdir}/sysstat.service %{_unitdir}/sysstat.service
%{_mandir}/man1/* %{_mandir}/man1/*
@ -98,6 +101,9 @@ exit 0
%doc COPYING CREDITS %doc COPYING CREDITS
%changelog %changelog
* Mon Nov 13 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 12.6.2-2mamba
- obsolete iostat; added debug package
* Tue Jan 31 2023 Automatic Build System <autodist@mambasoft.it> 12.6.2-1mamba * Tue Jan 31 2023 Automatic Build System <autodist@mambasoft.it> 12.6.2-1mamba
- automatic version update by autodist - automatic version update by autodist