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 16:53:43 +08:00
parent 6c035575e8
commit 5b65fa8f7d

View File

@ -3,7 +3,7 @@
Summary: AI auto tuning system
Name: atune
Version: 1.0.0
Release: 6
Release: 7
License: Mulan PSL v2
URL: https://gitee.com/openeuler/A-Tune
Source: https://gitee.com/openeuler/A-Tune/repository/archive/v%{version}.tar.gz
@ -85,6 +85,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)
@ -146,16 +164,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-7
- fix atune-engine process remaining after remove atune-engine.rpm
* Fri Mar 3 2023 wuzx<wuzx1226@qq.com> - 1.0.0-6
- Add sw64 architecture