From 29c17b9cb3d729241e3961546965415dcfa15dca Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Thu, 29 Feb 2024 19:44:43 +0800 Subject: [PATCH] Fix the incorrect command 'is-enable' to 'is-enabled'. Signed-off-by: zhang-liang-pengkun --- sysstat.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sysstat.spec b/sysstat.spec index fdf17d8..42aac4e 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,6 +1,6 @@ Name: sysstat Version: 12.5.4 -Release: 10 +Release: 11 Summary: System performance tools for the Linux operating system License: GPLv2+ URL: http://sebastien.godard.pagesperso-orange.fr/ @@ -80,7 +80,7 @@ export compressafter="31" %systemd_postun sysstat.service sysstat-collect.timer sysstat-summary.timer %posttrans -if [ "$(systemctl is-enable sysstat.service)" == "enabled" ] ; then +if [ "$(systemctl is-enabled sysstat.service)" == "enabled" ] ; then /usr/bin/systemctl enable sysstat.service >/dev/null 2>&1 fi @@ -95,6 +95,9 @@ fi %{_mandir}/man*/* %changelog +* Thu Feb 29 2024 zhangliangpengkun - 12.5.4-11 +- Fix the incorrect command 'is-enable' to 'is-enabled'. + * Wed Jan 10 2024 zhouwenpei - 12.5.4-10 - fix upgrade problem that sysstat.service changes from disable to enable -- Gitee