提交 27abd848 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!65 prepare for v0.2 release

Merge pull request !65 from 谢志鹏/master
VERSION = 0.1 VERSION = 0.2
.PHONY: all clean modules .PHONY: all clean modules
PKGPATH=pkg PKGPATH=pkg
......
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
Summary: AI auto tuning system Summary: AI auto tuning system
Name: atune Name: atune
Version: 0.1 Version: 0.2
Release: 0.1%{?dist} Release: 0.1
License: Mulan PSL v1 License: Mulan PSL v1
Source: %{name}-%{version}.tar.gz URL: https://gitee.com/openeuler/A-Tune
Source: openeuler-A-Tune-v%{version}.tar.gz
BuildRequires: rpm-build protobuf-compiler golang-bin python3-pytest procps-ng BuildRequires: rpm-build protobuf-compiler golang-bin python3-pytest procps-ng
BuildRequires: sqlite >= 3.24.0 BuildRequires: sqlite >= 3.24.0
...@@ -43,24 +44,23 @@ License: MuLan PSL v1 ...@@ -43,24 +44,23 @@ License: MuLan PSL v1
Database and AI model used by atuned AI tuning system. Database and AI model used by atuned AI tuning system.
%prep %prep
%setup -n %{name}-%{version} -q %setup -n A-Tune -q
%build %build
cd ../ cd ../
mkdir -p gopath/src/ mkdir -p gopath/src/
rm -rf gopath/src/%{name} rm -rf gopath/src/%{name}
mv %{name}-%{version} gopath/src/%{name} mv A-Tune gopath/src/%{name}
cd gopath/src/%{name} cd gopath/src/%{name}
export GO111MODULE=off export GO111MODULE=off
make make
cd ../ cd ../
cp -rf %{name} ../../%{name}-%{version} cp -rf %{name} ../../A-Tune
%install %install
%make_install %make_install
%check %check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version}
%files %files
%license License/LICENSE %license License/LICENSE
...@@ -105,5 +105,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} ...@@ -105,5 +105,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version}
%systemd_postun_with_restart atuned.service %systemd_postun_with_restart atuned.service
%changelog %changelog
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.2-0.1
- Package init
* Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1-0.1 * Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1-0.1
- Package init - Package init
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册