diff --git a/keentuned-2.3.0-2.tar.gz b/keentuned-2.3.0-2.tar.gz deleted file mode 100644 index 4804cad64c7fc745025104598be551b92815c26f..0000000000000000000000000000000000000000 Binary files a/keentuned-2.3.0-2.tar.gz and /dev/null differ diff --git a/keentuned.spec b/keentuned.spec index 73761607276919abc781d48d4bdaa1dc29861816..a150e9c18f64470ec04c1b389c785d185b36936e 100644 --- a/keentuned.spec +++ b/keentuned.spec @@ -1,13 +1,16 @@ %define debug_package %{nil} -%define anolis_release 2 +%define anolis_release 1 Name: keentuned -Version: 2.3.0 +Version: v2.3.1 Release: %{?anolis_release}%{?dist} Summary: KeenTune tuning tools Vendor: Alibaba License: MulanPSLv2 -Source: %{name}-%{version}-%{anolis_release}.tar.gz +Source0: https://gitee.com/anolis/keentuned/archive/refs/tags/%{version}.tar.gz + +# To obtain source1, execute "go mod vendor" in the source code, then execute "tar -czf vendor-${version}.tar.gz vendor" command. +Source1: vendor-%{version}.tar.gz Autoreq: 0 BuildRequires: go >= 1.13 @@ -22,6 +25,7 @@ KeenTune tuning tools rpm package %prep %setup -n %{name}-%{version} +tar -zxf %{SOURCE1} -C ./ %build %make_build @@ -64,6 +68,9 @@ cd /var/log/keentune && rm -f $(ls |grep -Ev "bench|brain|target") %{_prefix}/share/bash-completion/completions/keentune.bash %changelog +* Thu Dec 28 2023 Runzhe Wang - 2.3.1-1 +- update to v2.3.1 + * Wed Sep 20 2023 Runzhe Wang - 2.3.0-2 - profile: remove duplicatly setting of rfs in redis/memcached - profile: remove param vm.drop_caches from basic profile @@ -95,7 +102,7 @@ cd /var/log/keentune && rm -f $(ls |grep -Ev "bench|brain|target") * Mon Jun 26 2023 Runzhe Wang - 2.2.0-1 - remove rollback all function -* Wed Nov 29 2023 Runzhe Wang - 2.1.0-8 +* Sat Apr 29 2023 Runzhe Wang - 2.1.0-8 - add copyright - add release in source package diff --git a/v2.3.1.tar.gz b/v2.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9061e14d7a195ab9dc2e4d83a1af6b17da984b8f Binary files /dev/null and b/v2.3.1.tar.gz differ diff --git a/vendor-v2.3.1.tar.gz b/vendor-v2.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d7ee40a666d7c185f648bf1399ff2774d4677fc6 Binary files /dev/null and b/vendor-v2.3.1.tar.gz differ