fix atune-engine process remaining after remove atune-engine.rpm

Signed-off-by: yuxiangyang <yuxiangyang4@xfusion.com>
This commit is contained in:
yuxiangyang 2023-04-21 15:36:43 +08:00
parent cd1921640b
commit 135366e1d3

View File

@ -3,7 +3,7 @@
Summary: AI auto tuning system
Name: atune
Version: 1.0.0
Release: 9
Release: 10
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/A-Tune
Source: https://gitee.com/openeuler/A-Tune/repository/archive/v%{version}.tar.gz
@ -86,6 +86,24 @@ atune engine tool for manage atuned AI tuning system.
%check
%post
%systemd_post atuned.service
%preun
%systemd_preun atuned.service
%postun
%systemd_postun_with_restart atuned.service
%post engine
%systemd_post atune-engine.service
%preun engine
%systemd_preun atune-engine.service
%postun engine
%systemd_postun_with_restart atune-engine.service
%files
%license License/LICENSE
%defattr(0640,root,root,0750)
@ -147,16 +165,10 @@ atune engine tool for manage atuned AI tuning system.
%exclude /etc/atuned/engine_certs/*
%exclude /etc/atuned/rest_certs
%post
%systemd_post atuned.service
%preun
%systemd_preun atuned.service
%postun
%systemd_postun_with_restart atuned.service
%changelog
* Fri Apr 21 2023 yuxiangyang <yuxiangyang4@xfusion.com> - 1.0.0-10
- fix atune-engine process remaining after remove atune-engine.rpm
* Fri Mar 3 2023 wuzx<wuzx1226@qq.com> - 1.0.0-9
- Add sw64 architecture