!23 [sync] PR-22: eliminate 'Failed to try-restart' warning when downgrading to 1.0.1-1

From: @openeuler-sync-bot 
Reviewed-by: @dowzyx 
Signed-off-by: @dowzyx
This commit is contained in:
openeuler-ci-bot 2023-01-20 08:42:58 +00:00 committed by Gitee
commit 60e7878e7b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: gala-anteater
Version: 1.0.1
Release: 3
Release: 4
Summary: A time-series anomaly detection platform for operating system.
License: MulanPSL2
URL: https://gitee.com/openeuler/gala-anteater
@ -51,7 +51,9 @@ fi
%systemd_preun gala-anteater.service
%postun
%systemd_postun_with_restart gala-anteater.service
if [ -f "%{_unitdir}/gala-anteater.service" ] ; then
%systemd_postun_with_restart gala-anteater.service
fi
%files
%doc README.md
@ -75,6 +77,9 @@ fi
%changelog
* Fri Jan 20 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-4
- eliminate 'Fail to try-restart' warning when downgrading to 1.0.1-1
* Thu Jan 19 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-3
- fix missing Requires:python3-pyyaml