eliminate 'Failed to try-restart' warning when downgrading to 1.0.1-1

(cherry picked from commit 9b5447e0778006e1fcdac53f0a4c94c71f4b29e9)
This commit is contained in:
Zhen Chen 2023-01-20 13:40:49 +08:00 committed by openeuler-sync-bot
parent 9a10bf6543
commit c8d5b97f1c

View File

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