!115 [sync]【EulerMaker】Fix hadoop在openEuler-24.03-LTS-SP1:everything构建失败
From: @xuduo01 Reviewed-by: @wenwj0 Signed-off-by: @wenwj0
This commit is contained in:
commit
6f00704fa0
@ -9,9 +9,11 @@
|
|||||||
%global __requires_exclude_from ^%{_libdir}/%{name}/libhadoop.so$
|
%global __requires_exclude_from ^%{_libdir}/%{name}/libhadoop.so$
|
||||||
%global __provides_exclude_from ^%{_libdir}/%{name}/.*$
|
%global __provides_exclude_from ^%{_libdir}/%{name}/.*$
|
||||||
%define _binaries_in_noarch_packages_terminate_build 0
|
%define _binaries_in_noarch_packages_terminate_build 0
|
||||||
|
%define huawei_repo https://repo.huaweicloud.com/repository
|
||||||
|
|
||||||
Name: hadoop
|
Name: hadoop
|
||||||
Version: 3.3.6
|
Version: 3.3.6
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: A software platform for processing vast amounts of data
|
Summary: A software platform for processing vast amounts of data
|
||||||
# The BSD license file is missing
|
# The BSD license file is missing
|
||||||
# https://issues.apache.org/jira/browse/HADOOP-9849
|
# https://issues.apache.org/jira/browse/HADOOP-9849
|
||||||
@ -279,7 +281,9 @@ mkdir -p ${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/
|
|||||||
cp %{SOURCE14} ${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
|
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/
|
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 %{huawei_repo}/npm/
|
||||||
npm cache clean -f
|
npm cache clean -f
|
||||||
|
${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-v1.22.5/bin/yarn config set registry %{huawei_repo}/npm/ -g
|
||||||
${HOME}/.m2/repository/com/github/eirslett/yarn/1.22.5/yarn-v1.22.5/bin/yarn config set ignore-engines true
|
${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
|
%pom_add_dep org.iq80.leveldb:leveldb-api:0.7 hadoop-hdfs-project/hadoop-hdfs
|
||||||
@ -1158,6 +1162,9 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
|
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 13 2024 xuduo <fs-yao@126.com> - 3.3.6-6
|
||||||
|
- Add huawei repository
|
||||||
|
|
||||||
* Mon Nov 11 2024 xiaochn <xiaochuannan@inspur.com> - 3.3.6-5
|
* Mon Nov 11 2024 xiaochn <xiaochuannan@inspur.com> - 3.3.6-5
|
||||||
- Remove npm repo in spec file and use unified configuration of the build environment
|
- Remove npm repo in spec file and use unified configuration of the build environment
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user