Remove leftover references to pmlogger_daily_report systemd files.

Resolves: rhbz#2142713
This commit is contained in:
Nathan Scott 2022-11-17 11:19:44 +11:00
parent dfd9327501
commit d74a8345a1
1 changed files with 4 additions and 10 deletions

View File

@ -1,6 +1,6 @@
Name: pcp Name: pcp
Version: 6.0.1 Version: 6.0.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: System-level performance monitoring and performance management Summary: System-level performance monitoring and performance management
License: GPLv2+ and LGPLv2+ and CC-BY License: GPLv2+ and LGPLv2+ and CC-BY
URL: https://pcp.io URL: https://pcp.io
@ -2710,7 +2710,6 @@ chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
%if !%{disable_systemd} %if !%{disable_systemd}
systemctl restart pmcd pmlogger >/dev/null 2>&1 systemctl restart pmcd pmlogger >/dev/null 2>&1
systemctl enable pmcd pmlogger >/dev/null 2>&1 systemctl enable pmcd pmlogger >/dev/null 2>&1
systemctl enable pmlogger_daily_report.timer >/dev/null 2>&1
%else %else
/sbin/chkconfig --add pmcd >/dev/null 2>&1 /sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1 /sbin/chkconfig --add pmlogger >/dev/null 2>&1
@ -2982,14 +2981,6 @@ exit 0
%preun pmda-weblog %preun pmda-weblog
%{pmda_remove "$1" "weblog"} %{pmda_remove "$1" "weblog"}
%if !%{disable_systemd}
%preun zeroconf
if [ "$1" -eq 0 ]
then
%systemd_preun pmlogger_daily_report.timer pmlogger_daily_report.service
fi
%endif
%preun %preun
if [ "$1" -eq 0 ] if [ "$1" -eq 0 ]
then then
@ -3376,6 +3367,9 @@ fi
%files zeroconf -f pcp-zeroconf-files.rpm %files zeroconf -f pcp-zeroconf-files.rpm
%changelog %changelog
* Thu Nov 17 2022 Nathan Scott <nathans@redhat.com> - 6.0.1-3
- Remove pmlogger_daily_report systemd leftovers (BZ 2142713)
* Fri Nov 11 2022 Nathan Scott <nathans@redhat.com> - 6.0.1-2 * Fri Nov 11 2022 Nathan Scott <nathans@redhat.com> - 6.0.1-2
- Resolve an issue with installing sysusers entries (BZ 2138758) - Resolve an issue with installing sysusers entries (BZ 2138758)