From 7af0f2b26600ba4929cb7d28bbdfd9958f13d137 Mon Sep 17 00:00:00 2001 From: chen-jan Date: Mon, 28 Aug 2023 16:51:06 +0800 Subject: [PATCH] fix %postun error (cherry picked from commit c93c0cc1a389584fcc5979e5e12d957f81f590f6) --- nagios.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nagios.spec b/nagios.spec index 62358ad..cb68007 100644 --- a/nagios.spec +++ b/nagios.spec @@ -1,6 +1,6 @@ Name: nagios Version: 4.4.13 -Release: 1 +Release: 2 Summary: Host/service/network monitoring program License: GPLv2 URL: https://www.nagios.org/projects/nagios-core/ @@ -208,7 +208,7 @@ fi %postun /usr/bin/systemctl condrestart httpd > /dev/null 2>&1 || : -triggerun -- %{name} < 3.5.1-2 +%triggerun -- %{name} < 3.5.1-2 # Save the current service runlevel info # User must manually run systemd-sysv-convert --apply opensips # to migrate them to systemd targets @@ -288,6 +288,9 @@ fi %{_libdir}/%{name}/cgi/ %changelog +* Mon Aug 28 2023 chenchen - 4.4.13-2 +- fix %postun error + * Thu Jul 27 2023 chenchen - 4.4.13-1 - Upgrade to version 4.4.13 -- Gitee