diff --git a/A-Ops-v1.0.1.tar.gz b/A-Ops-v1.0.1.tar.gz index 5f5060d..cc5eb18 100644 Binary files a/A-Ops-v1.0.1.tar.gz and b/A-Ops-v1.0.1.tar.gz differ diff --git a/A-Ops-web-node-modules.tar.gz b/A-Ops-web-node-modules.tar.gz new file mode 100644 index 0000000..3c48ba5 Binary files /dev/null and b/A-Ops-web-node-modules.tar.gz differ diff --git a/A-Ops.spec b/A-Ops.spec index e2c2d44..4d6cc39 100644 --- a/A-Ops.spec +++ b/A-Ops.spec @@ -1,12 +1,12 @@ #needsrootforbuild Name: A-Ops -Version: 1.0.1 +Version: v1.0.1 Release: 2 Summary: The intelligent ops toolkit for openEuler License: MulanPSL2 URL: https://gitee.com/openeuler/A-Ops -Source0: %{name}-v%{version}.tar.gz - +Source0: %{name}-%{version}.tar.gz +Source1: A-Ops-web-node-modules.tar.gz # build for gopher BuildRequires: cmake gcc-c++ yum elfutils-devel clang >= 10.0.1 llvm libconfig-devel @@ -147,7 +147,10 @@ website for A-Ops, deployed by Nginx %define debug_package %{nil} %prep -%autosetup -n %{name}-v%{version} +%setup +%setup -T -D -a 1 +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/ @@ -433,12 +436,11 @@ fi %changelog -* Mon Sep 6 2021 Lostwayzxc - 1.0.1-2 +* Mon Sep 6 2021 Yiru Wang - v1.0.1-2 - add web build modle of the aops -* Mon Sep 6 2021 Lostwayzxc - 1.0.1-1 -- update src, add intelligent check and diagnosis module, and -- add web of the aops +* Mon Sep 6 2021 Lostwayzxc - v1.0.1-1 +- update src, add intelligent check and diagnosis module * Thu Sep 2 2021 zhaoyuxing - 1.0.0-4 - add service file in gala-spider @@ -452,4 +454,3 @@ fi * Sat Jul 31 2021 orange-snn - 1.0.0-1 - Package init -