add chrpath to correct warning
Signed-off-by: small_leek <xiasenlin1@huawei.com> update hadoop.spec. Signed-off-by: small_leek <xiasenlin1@huawei.com>
This commit is contained in:
parent
2b9951549c
commit
a24bc9f6ce
10
hadoop.spec
10
hadoop.spec
@ -11,7 +11,7 @@
|
|||||||
%define _binaries_in_noarch_packages_terminate_build 0
|
%define _binaries_in_noarch_packages_terminate_build 0
|
||||||
Name: hadoop
|
Name: hadoop
|
||||||
Version: 3.3.3
|
Version: 3.3.3
|
||||||
Release: 1
|
Release: 2
|
||||||
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
|
||||||
@ -39,7 +39,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|||||||
BuildRequires: java-1.8.0-openjdk-devel maven hostname maven-local tomcat cmake snappy openssl-devel
|
BuildRequires: java-1.8.0-openjdk-devel maven hostname maven-local tomcat cmake snappy openssl-devel
|
||||||
BuildRequires: cyrus-sasl-devel chrpath systemd protobuf2-compiler protobuf2-devel protobuf2-java protobuf2
|
BuildRequires: cyrus-sasl-devel chrpath systemd protobuf2-compiler protobuf2-devel protobuf2-java protobuf2
|
||||||
BuildRequires: leveldbjni leveldb-java hawtjni-runtime gcc-c++
|
BuildRequires: leveldbjni leveldb-java hawtjni-runtime gcc-c++
|
||||||
BuildRequires: npm
|
BuildRequires: npm chrpath
|
||||||
Requires: java-1.8.0-openjdk protobuf2-java apache-zookeeper
|
Requires: java-1.8.0-openjdk protobuf2-java apache-zookeeper
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -905,6 +905,9 @@ sed -i "s|{|%{_var}/log/hadoop-hdfs/*.audit\n{|" %{buildroot}%{_sysconfdir}/logr
|
|||||||
# hdfs init script
|
# hdfs init script
|
||||||
install -m 755 %{SOURCE8} %{buildroot}%{_sbindir}
|
install -m 755 %{SOURCE8} %{buildroot}%{_sbindir}
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/container-executor
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/test-container-executor
|
||||||
|
|
||||||
%pretrans -p <lua> hdfs
|
%pretrans -p <lua> hdfs
|
||||||
path = "%{_datadir}/%{name}/hdfs/webapps"
|
path = "%{_datadir}/%{name}/hdfs/webapps"
|
||||||
st = posix.stat(path)
|
st = posix.stat(path)
|
||||||
@ -1124,6 +1127,9 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
|
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 8 2022 xiasenlin <xiasenlin1@huawei.com> - 3.3.3-2
|
||||||
|
- add chrpath to solve check_rpath warning
|
||||||
|
|
||||||
* Thu Aug 11 2022 xiexing <xiexing4@hisilicon.com> - 3.3.3-1
|
* Thu Aug 11 2022 xiexing <xiexing4@hisilicon.com> - 3.3.3-1
|
||||||
- update version
|
- update version
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user