diff --git a/atune.spec b/atune.spec index 3e567b61c9c30e11b4d6ff452f7baae933d6a0e8..3be76ec79b54e6faf1adbf0f1511dbec2e207a48 100755 --- a/atune.spec +++ b/atune.spec @@ -3,7 +3,7 @@ Summary: AI auto tuning system Name: atune Version: 1.2.0 -Release: 6 +Release: 7 License: MulanPSL-2.0 URL: https://gitee.com/openeuler/A-Tune Source: https://gitee.com/openeuler/A-Tune/repository/archive/v%{version}.tar.gz @@ -156,18 +156,6 @@ exit 0 %postun rest %systemd_postun_with_restart atune-rest.service -%post -n copilot-tune -%systemd_post tune-mcpserver.service -%systemd_post tune-openapi.service - -%preun -n copilot-tune -%systemd_preun tune-mcpserver.service -%systemd_preun tune-openapi.service - -%postun -n copilot-tune -%systemd_postun_with_restart tune-mcpserver.service -%systemd_postun_with_restart tune-openapi.service - %files %license License/LICENSE %defattr(0640,root,root,0750) @@ -236,11 +224,7 @@ exit 0 %attr(0550,root,root) %{python3_sitelib}/src %exclude %{python3_sitelib}/src/__pycache__ %attr(0550,root,root) %{python3_sitelib}/copilot_tune-*-py*.egg-info/ -%attr(0550,root,root) %{_bindir}/tune-openapi -%attr(0550,root,root) %{_bindir}/tune-mcpserver %attr(0550,root,root) %{_bindir}/copilot-tune -%attr(0640,root,root) %{_unitdir}/tune-mcpserver.service -%attr(0640,root,root) %{_unitdir}/tune-openapi.service %attr(0750,root,root) %dir /etc/copilot-tune %attr(0750,root,root) %dir /etc/copilot-tune/config %attr(0750,root,root) %dir /etc/copilot-tune/scripts diff --git a/test.py b/test.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391