diff --git a/keentune-brain-1.0.0.tar.gz b/keentune-brain-1.0.0.tar.gz index 29b7279c99f5ec5ebff1d414eae1a778bbb79870..a71201ea970223da1e51511f7fc79400ade41bd3 100644 Binary files a/keentune-brain-1.0.0.tar.gz and b/keentune-brain-1.0.0.tar.gz differ diff --git a/keentune-brain.spec b/keentune-brain.spec index be403ab32f031b50ef785776e1701277fa8fdc8c..ee3a92b103ddee05749a6da1d4904b7b50c28f92 100644 --- a/keentune-brain.spec +++ b/keentune-brain.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 5 # # spec file for package KeenTune-brain @@ -7,7 +7,7 @@ Name: keentune-brain Version: 1.0.0 Release: %{?anolis_release}%{?dist} -Url: https://codeup.openanolis.cn/codeup/keentune/keentune_brain +Url: https://gitee.com/anolis/keentune_brain Summary: AI-Tunning algorithm models for KeenTune License: MulanPSLv2 Group: Development/Languages/Python @@ -27,18 +27,31 @@ AI-Tunning algorithm 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-brain.service ${RPM_BUILD_ROOT}/usr/lib/systemd/system/ %clean rm -rf $RPM_BUILD_ROOT +%post +systemctl daemon-reload + %files -f INSTALLED_FILES %license LICENSE +%{_libdir}/systemd/system/keentune-brain.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