fix creation of /var/log/sa in image mode
Resolves: RHEL-128566
This commit is contained in:
parent
0736762a1e
commit
1e22545e96
1
sysstat-tmpfiles.conf
Normal file
1
sysstat-tmpfiles.conf
Normal file
@ -0,0 +1 @@
|
||||
d /var/log/sa 0755 root root -
|
||||
11
sysstat.spec
11
sysstat.spec
@ -1,11 +1,12 @@
|
||||
Summary: Collection of performance monitoring tools for Linux
|
||||
Name: sysstat
|
||||
Version: 12.7.6
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: http://sebastien.godard.pagesperso-orange.fr
|
||||
Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz
|
||||
Source1: sysstat-tmpfiles.conf
|
||||
|
||||
# PCP is no longer available for %%{ix86} on F40
|
||||
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
|
||||
@ -68,6 +69,10 @@ The cifsiostat command reports I/O statistics for CIFS file systems.
|
||||
# Do not install the license as documentation
|
||||
rm %{buildroot}%{_docdir}/%{name}/COPYING
|
||||
|
||||
# tmpfiles config
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
|
||||
install -p -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%post
|
||||
%systemd_post sysstat.service sysstat-collect.timer sysstat-summary.timer
|
||||
|
||||
@ -108,8 +113,12 @@ fi
|
||||
%{_mandir}/man8/sa2.8*
|
||||
%{_mandir}/man8/sadc.8*
|
||||
%{_localstatedir}/log/sa
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
%changelog
|
||||
* Mon Dec 01 2025 Lukáš Zaoral <lzaoral@redhat.com> - 12.7.6-3
|
||||
- fix creation of /var/log/sa in image mode (RHEL-128566)
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 12.7.6-2
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
Loading…
Reference in New Issue
Block a user