!2 解决postun事务内容为空的问题

From: @reganhe_xx
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2021-08-09 11:57:20 +00:00 committed by Gitee
commit 60989f2e5d

View File

@ -2,7 +2,7 @@
Name: alertmanager
Version: 0.21.0
Release: 2%{?dist}
Release: 3
Summary: Prometheus Alertmanager.
License: ASL 2.0
URL: https://github.com/prometheus/%{name}
@ -56,7 +56,7 @@ exit 0
%systemd_preun %{name}.service
%postun
%systemd_postun %{name}.service
%systemd_postun_with_restart %{name}.service
%files
%defattr(-,root,root,-)
@ -68,5 +68,10 @@ exit 0
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
%changelog
* Thu Aug 05 2021 herengui <herengui@uniontech.com> - 0.21.0-3
- Type: bugfix
- ID: #I4431I
- DESC: solve empty postun transaction issue.
* Tue Aug 11 2020 houjian <houjian@kylinos.cn> - 0.21.0-2
- Package init