fix atune-engine process remaining after remove atune-engine.rpm
Signed-off-by: yuxiangyang <yuxiangyang4@xfusion.com>
This commit is contained in:
parent
cd1921640b
commit
135366e1d3
32
atune.spec
32
atune.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: AI auto tuning system
|
Summary: AI auto tuning system
|
||||||
Name: atune
|
Name: atune
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 9
|
Release: 10
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: https://gitee.com/openeuler/A-Tune
|
URL: https://gitee.com/openeuler/A-Tune
|
||||||
Source: https://gitee.com/openeuler/A-Tune/repository/archive/v%{version}.tar.gz
|
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
|
%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
|
%files
|
||||||
%license License/LICENSE
|
%license License/LICENSE
|
||||||
%defattr(0640,root,root,0750)
|
%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/engine_certs/*
|
||||||
%exclude /etc/atuned/rest_certs
|
%exclude /etc/atuned/rest_certs
|
||||||
|
|
||||||
%post
|
|
||||||
%systemd_post atuned.service
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%systemd_preun atuned.service
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%systemd_postun_with_restart atuned.service
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 3 2023 wuzx<wuzx1226@qq.com> - 1.0.0-9
|
||||||
- Add sw64 architecture
|
- Add sw64 architecture
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user