From a4c04a6013a72842f5ac2c9eb6875fab15bca8f2 Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Tue, 5 Mar 2024 17:13:39 +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 74315e4..da30e99 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,6 +1,6 @@ Name: sysstat Version: 12.2.1 -Release: 8 +Release: 9 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.2.1-9 +- Fix the incorrect command 'is-enable' to 'is-enabled'. + * Wed Jan 10 2024 zhouwenpei - 12.2.1-8 - fix upgrade problem that sysstat.service changes from disable to enable -- Gitee