summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-17 00:42:55 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-17 00:42:55 +0000
commitf80f601d4d04cd53c7e76cbedd3026007dcf9744 (patch)
treeda87dfabc935f0073347f8d5d9c79d289888aab9
parent9dc52be018485a382313f27b3f68d9b253ae58e6 (diff)
automatic import of aops-hermes
-rw-r--r--aops-hermes.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/aops-hermes.spec b/aops-hermes.spec
index 70b88fd..9eac22e 100644
--- a/aops-hermes.spec
+++ b/aops-hermes.spec
@@ -21,10 +21,14 @@ Web for an intelligent diagnose frame
%autosetup -n %{name}-%{version}
%build
-curl -LO https://repo.huaweicloud.com/openeuler/openEuler-20.03-LTS/ISO/x86_64/openEuler-20.03-LTS-x86_64-dvd.iso.sha256sum
-rm -rf openEuler-20.03-LTS-x86_64-dvd.iso.sha256sum
npm config set registry https://registry.npmmirror.com
+export NPM_PREFIX=$(pwd)/.npm-global
+mkdir -p $NPM_PREFIX
+npm config set prefix $NPM_PREFIX
+
npm install -g pnpm@6
+
+export PATH=$NPM_PREFIX/bin:$PATH
pnpm install
pnpm build