diff --git a/keentune-ui.spec b/keentune-ui.spec index 5aeceeb05596ecf2fc5485a63ab957aa301bb1cb..616fc561ed79bca0bd1da4a84c6986e5775c1c06 100644 --- a/keentune-ui.spec +++ b/keentune-ui.spec @@ -1,30 +1,30 @@ -%define anolis_release 1 +%define anolis_release 2 Name: keentune_ui -Version: v2.3.1 +Version: 2.3.1 Release: %{?anolis_release}%{?dist} Summary: KeenTune web UI Vendor: Alibaba License: MulanPSLv2 -Source0: https://gitee.com/anolis/keentune_ui/archive/refs/tags/%{version}.tar.gz +Source0: https://gitee.com/anolis/keentune_ui/archive/refs/tags/v%{version}.tar.gz # Recommended using npm 18.0.0 to obtain source1 # 1. execute "npm install -g yarn" to install yarn command and configure the Yarn proxy using the following command: "yarn config set registry https://registry.npm.taobao.org" # 2. access to the keentune_ui source code directory and execute "yarn install". # 3. Move esbuild out of the node_modules directory (mv ./node_modules/esbuild .), the rest is platform-agnostic. -# 4. Create a compressed file using the command "tar -czf node_modules-${version}.tar.gz node_modules. -Source1: node_modules-%{version}.tar.gz +# 4. Create a compressed file using the command "tar -czf node_modules-v${version}.tar.gz node_modules. +Source1: node_modules-v%{version}.tar.gz #Obtain source2 # 1. After generating node_modules in the X86 environment, make a copy of the esbuild inside it. -# 2. execute "tar -czf esbuild_x86-${version}.tar.gz esbuild" . -Source2: esbuild_x86-%{version}.tar.gz +# 2. execute "tar -czf esbuild_x86-v${version}.tar.gz esbuild" . +Source2: esbuild_x86-v%{version}.tar.gz #Obtain source3 # 1. After generating node_modules in the aarch64 environment, make a copy of the esbuild inside it. -# 2. execute "tar -czf esbuild_arm-${version}.tar.gz esbuild" . -Source3: esbuild_arm-%{version}.tar.gz +# 2. execute "tar -czf esbuild_arm-v${version}.tar.gz esbuild" . +Source3: esbuild_arm-v%{version}.tar.gz BuildArch: noarch @@ -35,7 +35,7 @@ BuildRequires: npm KeenTune UI rpm package %prep -%setup -n %{name}-%{version} +%setup -n %{name}-v%{version} tar -zxf %{SOURCE1} -C ./ if [[ $(uname -m) == "x86_64" ]]; then tar -zxvf %{SOURCE2} -C ./node_modules @@ -93,6 +93,9 @@ fi %{_sysconfdir}/httpd/conf.d %changelog +* Tue Jan 02 2023 happy_orange - 2.3.1-2 +- fix the version number + * Thu Dec 28 2023 Runzhe Wang - 2.3.1-1 - update to v2.3.1