From b50fd7ea102ce7b41a9db0bd2dca44423c74ed23 Mon Sep 17 00:00:00 2001 From: happy_orange Date: Tue, 2 Jan 2024 15:15:10 +0800 Subject: [PATCH] fix the version error --- keentune-brain.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/keentune-brain.spec b/keentune-brain.spec index 962bf18..6d96c45 100644 --- a/keentune-brain.spec +++ b/keentune-brain.spec @@ -1,13 +1,13 @@ -%define anolis_release 1 +%define anolis_release 2 Name: keentune-brain -Version: v2.3.1 +Version: 2.3.1 Release: %{?anolis_release}%{?dist} Summary: Auto-Tuning algorithm module of KeenTune Vendor: Alibaba License: MulanPSLv2 Group: Development/Languages/Python -Source0: https://gitee.com/anolis/keentune_target/archive/refs/tags/%{version}.tar.gz +Source0: https://gitee.com/anolis/keentune_target/archive/refs/tags/v%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -23,7 +23,7 @@ Requires(postun): systemd Auto-Tuning algorithm module of KeenTune %prep -%autosetup -n keentune_brain-%{version} +%autosetup -n keentune_brain-v%{version} %build %{__python3} setup.py build @@ -70,7 +70,10 @@ rm -f /usr/local/python*/bin/keentune-brain %{_mandir}/man5/keentune-brain.conf.5* %changelog -* Thu Dec 28 2023 Runzhe Wang - 2.3.1 +* Tue Jan 02 2023 happy_orange - 2.3.1-2 +- fix the version number + +* Thu Dec 28 2023 Runzhe Wang - 2.3.1-1 - An official version merged all 2.3.0-* release version * Wed Nov 29 2023 Runzhe Wang - 2.1.0-7 -- Gitee