!21 [sync] PR-20: fix %postun error

From: @openeuler-sync-bot 
Reviewed-by: @wu-leilei 
Signed-off-by: @wu-leilei
This commit is contained in:
openeuler-ci-bot 2023-08-28 09:25:53 +00:00 committed by Gitee
commit 54db6feb62
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <chen_aka_jan@163.com> - 4.4.13-2
- fix %postun error
* Thu Jul 27 2023 chenchen <chen_aka_jan@163.com> - 4.4.13-1
- Upgrade to version 4.4.13