!94 修复卸载atune-engine.rpm之后atune-engine.service的残留问题

From: @hukunamatata 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2023-04-21 09:03:46 +00:00 committed by Gitee
commit 81c59d4ef1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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