Update to v12.7.2 (rhbz#2165400)

- Use SPDX license format
- Modernize the spec file according to the current packaging guidelines

Resolves: rhbz#2165400
This commit is contained in:
Lukáš Zaoral 2023-01-30 09:51:40 +01:00
parent 87b3a37dda
commit cf48e60a10
No known key found for this signature in database
GPG Key ID: 39157506DD67752D
3 changed files with 36 additions and 10 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/v12.5.6.tar.gz /v12.5.6.tar.gz
/v12.6.0.tar.gz /v12.6.0.tar.gz
/v12.7.1.tar.gz /v12.7.1.tar.gz
/v12.7.2.tar.gz

View File

@ -1 +1 @@
SHA512 (v12.7.1.tar.gz) = 5c1da0f5a1bf26091f029c5ea138f836616becb1e531843aa2c150a66ddc1f07b43cffeac98445855bf70319942fe22838a682c2f7685893bead7d8de7e9e2a8 SHA512 (v12.7.2.tar.gz) = c9dbde263122c4adc0d22769a1ba69c9011bc8264a9298c0c2fcd3262a785e9cef34b69bb84ddc2bafbf11de5f2110946bbe7e88a98f03f99524894a5c02e0de

View File

@ -1,9 +1,10 @@
Summary: Collection of performance monitoring tools for Linux Summary: Collection of performance monitoring tools for Linux
Name: sysstat Name: sysstat
Version: 12.7.1 Version: 12.7.2
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPL-2.0-or-later
URL: http://sebastien.godard.pagesperso-orange.fr/
URL: http://sebastien.godard.pagesperso-orange.fr
Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
@ -39,7 +40,6 @@ The cifsiostat command reports I/O statistics for CIFS file systems.
%autosetup -S git_am %autosetup -S git_am
%build %build
%set_build_flags
%configure \ %configure \
--enable-install-cron \ --enable-install-cron \
--enable-copy-only \ --enable-copy-only \
@ -51,12 +51,15 @@ The cifsiostat command reports I/O statistics for CIFS file systems.
sadc_options='-S DISK' \ sadc_options='-S DISK' \
history=28 \ history=28 \
compressafter=31 compressafter=31
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%find_lang %{name} %find_lang %{name}
# Do not install the license as documentation
rm %{buildroot}%{_docdir}/%{name}/COPYING
%post %post
%systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer %systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer
@ -71,17 +74,39 @@ fi
%systemd_postun sysstat.service sysstat-collect.timer sysstat-summary.timer %systemd_postun sysstat.service sysstat-collect.timer sysstat-summary.timer
%files -f %{name}.lang %files -f %{name}.lang
%doc CHANGES COPYING CREDITS FAQ.md README.md %{name}-%{version}.lsm %license COPYING
%doc CHANGES CREDITS FAQ.md README.md %{name}-%{version}.lsm
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat %config(noreplace) %{_sysconfdir}/sysconfig/sysstat
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf %config(noreplace) %{_sysconfdir}/sysconfig/sysstat.ioconf
%{_bindir}/* %{_bindir}/cifsiostat
%{_bindir}/iostat
%{_bindir}/mpstat
%{_bindir}/pidstat
%{_bindir}/sadf
%{_bindir}/sar
%{_bindir}/tapestat
%{_libdir}/sa %{_libdir}/sa
%{_unitdir}/sysstat* %{_unitdir}/sysstat*
%{_systemd_util_dir}/system-sleep/sysstat* %{_systemd_util_dir}/system-sleep/sysstat*
%{_mandir}/man*/* %{_mandir}/man1/cifsiostat.1*
%{_mandir}/man1/iostat.1*
%{_mandir}/man1/mpstat.1*
%{_mandir}/man1/pidstat.1*
%{_mandir}/man1/sadf.1*
%{_mandir}/man1/sar.1*
%{_mandir}/man1/tapestat.1*
%{_mandir}/man5/sysstat.5*
%{_mandir}/man8/sa1.8*
%{_mandir}/man8/sa2.8*
%{_mandir}/man8/sadc.8*
%{_localstatedir}/log/sa %{_localstatedir}/log/sa
%changelog %changelog
* Mon Jan 30 2023 Lukáš Zaoral <lzaoral@redhat.com> - 12.7.2-1
- Update to v12.7.2 (rhbz#2165400)
- Use SPDX license format
- Modernize the spec file according to the current packaging guidelines
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 12.7.1-2 * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 12.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild