From 451f5200391739204cea0940b5991eccf340f2ec Mon Sep 17 00:00:00 2001 From: gitee_cmd Date: Mon, 13 Sep 2021 09:09:44 +0000 Subject: [PATCH] update A-Ops.spec. (cherry picked from commit e211e40a5b56f9f910cc77e8bb0453df3d69fd5d) --- A-Ops.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/A-Ops.spec b/A-Ops.spec index d6dc29a..08e0323 100644 --- a/A-Ops.spec +++ b/A-Ops.spec @@ -1,7 +1,6 @@ -#needsrootforbuild Name: A-Ops Version: v1.0.2 -Release: 2 +Release: 3 Summary: The intelligent ops toolkit for openEuler License: MulanPSL2 URL: https://gitee.com/openeuler/A-Ops @@ -21,7 +20,7 @@ BuildRequires: git python3-devel systemd BuildRequires: python3-setuptools python3-kafka-python python3-connexion # build for web -BuildRequires: nodejs node-gyp npm +BuildRequires: nodejs node-gyp nodejs-yarn %description The intelligent ops toolkit for openEuler @@ -170,15 +169,6 @@ website for A-Ops, deployed by Nginx %patch0001 -p1 cp -r A-Ops-web-node-modules/node_modules aops-web/ -# prepare for web -pushd aops-web -npm config set registry https://mirrors.huaweicloud.com/repository/npm/ -npm cache clean -f -npm install --global yarn -yarn config set registry https://mirrors.huaweicloud.com/repository/npm -popd - - %build # build for aops-utils pushd aops-utils @@ -496,6 +486,9 @@ fi %changelog +* Mon Sep 13 2021 chemingdao - v1.0.2-3 +- modify spec for aops-web build + * Tue Sep 11 2021 yangyunyi - v1.0.2-2 - modify ansible playbook