diff --git a/keentune-target-1.0.0.tar.gz b/keentune-target-1.0.0.tar.gz index 7d3873784c6b6006bc12f11b5f787aea2f33b7b9..3a7e94423fe8ece5620c84237f358ce576d93144 100644 Binary files a/keentune-target-1.0.0.tar.gz and b/keentune-target-1.0.0.tar.gz differ diff --git a/keentune-target.spec b/keentune-target.spec index ecfa0622c9e45ff1e3c425823d17022343102d98..5d530ec94521afe9f7892eaccda8829cef707bbb 100644 --- a/keentune-target.spec +++ b/keentune-target.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 5 # # spec file for package KeenTune-target @@ -7,7 +7,7 @@ Name: keentune-target Version: 1.0.0 Release: %{?anolis_release}%{?dist} -Url: https://codeup.openanolis.cn/codeup/keentune/keentune_target +Url: https://gitee.com/anolis/keentune_target Summary: Parameters setting, reading and backup models for KeenTune License: MulanPSLv2 Group: Development/Languages/Python @@ -27,19 +27,32 @@ Parameters setting, reading and backup models for KeenTune %setup -q -n %{name}-%{version} %build -python3 setup.py build +%{__python3} setup.py build %install -python3 setup.py install --single-version-externally-managed -O1 --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES +%{__python3} setup.py install --single-version-externally-managed -O1 --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES +mkdir -p ${RPM_BUILD_ROOT}/usr/lib/systemd/system/ +cp -f ./keentune-target.service ${RPM_BUILD_ROOT}/usr/lib/systemd/system/ %clean rm -rf $RPM_BUILD_ROOT +%post +systemctl daemon-reload + %files -f INSTALLED_FILES %defattr(-,root,root) %license LICENSE +%{_libdir}/systemd/system/keentune-target.service %changelog +* Wed Dec 12 2021 Runzhe Wang <15501019889@126.com> - 1.0.0-5 +- fix bug: can not running in alinux2 and centos7 +- change modify codeup address to gitee + +* Wed Dec 01 2021 Runzhe Wang <15501019889@126.com> - 1.0.0-4 +- add keentune to systemd + * Wed Nov 24 2021 Runzhe Wang <15501019889@126.com> - 1.0.0-3 - fix: wrong license in setup.py - add nginx conf parameter domain @@ -49,4 +62,4 @@ rm -rf $RPM_BUILD_ROOT - update license to MulanPSLv2 * Wed Aug 18 2021 Runzhe Wang <15501019889@126.com> - 1.0.0-1 -- Initial KeenTune-target +- Initial KeenTune-target \ No newline at end of file