update A-Ops.spec.
(cherry picked from commit e211e40a5b56f9f910cc77e8bb0453df3d69fd5d)
This commit is contained in:
parent
cdc3bc515d
commit
451f520039
17
A-Ops.spec
17
A-Ops.spec
@ -1,7 +1,6 @@
|
|||||||
#needsrootforbuild
|
|
||||||
Name: A-Ops
|
Name: A-Ops
|
||||||
Version: v1.0.2
|
Version: v1.0.2
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: The intelligent ops toolkit for openEuler
|
Summary: The intelligent ops toolkit for openEuler
|
||||||
License: MulanPSL2
|
License: MulanPSL2
|
||||||
URL: https://gitee.com/openeuler/A-Ops
|
URL: https://gitee.com/openeuler/A-Ops
|
||||||
@ -21,7 +20,7 @@ BuildRequires: git python3-devel systemd
|
|||||||
BuildRequires: python3-setuptools python3-kafka-python python3-connexion
|
BuildRequires: python3-setuptools python3-kafka-python python3-connexion
|
||||||
|
|
||||||
# build for web
|
# build for web
|
||||||
BuildRequires: nodejs node-gyp npm
|
BuildRequires: nodejs node-gyp nodejs-yarn
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The intelligent ops toolkit for openEuler
|
The intelligent ops toolkit for openEuler
|
||||||
@ -170,15 +169,6 @@ website for A-Ops, deployed by Nginx
|
|||||||
%patch0001 -p1
|
%patch0001 -p1
|
||||||
cp -r A-Ops-web-node-modules/node_modules aops-web/
|
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
|
||||||
# build for aops-utils
|
# build for aops-utils
|
||||||
pushd aops-utils
|
pushd aops-utils
|
||||||
@ -496,6 +486,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 13 2021 chemingdao<chemingdao@huawei.com> - v1.0.2-3
|
||||||
|
- modify spec for aops-web build
|
||||||
|
|
||||||
* Tue Sep 11 2021 yangyunyi<yangyunyi2@huawei.com> - v1.0.2-2
|
* Tue Sep 11 2021 yangyunyi<yangyunyi2@huawei.com> - v1.0.2-2
|
||||||
- modify ansible playbook
|
- modify ansible playbook
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user