Add gcc-c++ to build dependency

This commit is contained in:
wang_yue111 2021-07-10 10:28:32 +08:00
parent c345bd9010
commit 17340a8d1f

View File

@ -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.2.1 Version: 3.2.1
Release: 3 Release: 4
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 @@ Patch2: CVE-2019-17195.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 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 BuildRequires: leveldbjni leveldb-java hawtjni-runtime gcc-c++
Requires: java-1.8.0-openjdk protobuf2-java apache-zookeeper Requires: java-1.8.0-openjdk protobuf2-java apache-zookeeper
%description %description
@ -1112,6 +1112,9 @@ fi
%config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg %config(noreplace) %{_sysconfdir}/%{name}/container-executor.cfg
%changelog %changelog
* Sat Jul 10 2021 wangyue <wangyue92@huawei.com> - 3.2.1-4
- Add gcc-c++ to build dependency
* Fri Jun 25 2021 wangyue <wangyue92@huawei.com> - 3.2.1-3 * Fri Jun 25 2021 wangyue <wangyue92@huawei.com> - 3.2.1-3
- Fix CVE-2019-17195 - Fix CVE-2019-17195