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

Signed-off-by: herengui <herengui@uniontech.com>
This commit is contained in:
herengui 2021-08-05 17:25:32 +08:00
parent e303b17a74
commit a47427b425

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