From 4cb900aec9779282b8e7751793f6895a4d10b9f1 Mon Sep 17 00:00:00 2001 From: xiaochuannan Date: Wed, 13 Nov 2024 09:45:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=85=88=E4=BD=BF=E7=94=A8=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E7=8E=AF=E5=A2=83=E7=BB=9F=E4=B8=80npm=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=80=8C=E4=B8=8D=E9=9C=80=E8=A6=81=E5=8D=95=E7=8B=AC?= =?UTF-8?q?=E5=9C=A8=E6=9C=AC=E9=A1=B9=E7=9B=AE=E4=B8=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hadoop.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hadoop.spec b/hadoop.spec index a983826..8b5c739 100644 --- a/hadoop.spec +++ b/hadoop.spec @@ -11,7 +11,7 @@ %define _binaries_in_noarch_packages_terminate_build 0 Name: hadoop Version: 3.3.6 -Release: 5 +Release: 6 Summary: A software platform for processing vast amounts of data # The BSD license file is missing # https://issues.apache.org/jira/browse/HADOOP-9849 @@ -324,9 +324,7 @@ mkdir -p ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/ cp %{SOURCE14} ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/ mv ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-v1.22.5.tar.gz ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-1.22.5.tar.gz tar -xzvf ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-1.22.5.tar.gz -C ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/ -npm config set registry https://repo.huaweicloud.com/repository/npm/ npm cache clean -f -${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-v1.22.5/bin/yarn config set registry https://repo.huaweicloud.com/repository/npm/ -g ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-v1.22.5/bin/yarn config set ignore-engines true %pom_add_dep org.iq80.leveldb:leveldb-api:0.7 hadoop-hdfs-project/hadoop-hdfs @@ -1205,6 +1203,9 @@ fi %config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg %changelog +* Mon Nov 11 2024 xiaochn - 3.3.6-6 +- Remove npm repo in spec file and use unified configuration of the build environment + * Thu Sep 26 2024 Deyuan Fan - 3.3.6-5 - fix CVE-2024-23454 -- Gitee