Use standard Fedora build/linker flags

- Resolves rhbz#1540172

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
This commit is contained in:
Rafael dos Santos 2018-05-29 17:10:53 +02:00
parent e6ed960abd
commit 7229ada64b
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,7 @@
Name: hadoop
Version: 2.7.3
Release: 9%{?dist}
Release: 10%{?dist}
Summary: A software platform for processing vast amounts of data
# The BSD license file is missing
# https://issues.apache.org/jira/browse/HADOOP-9849
@ -608,6 +608,7 @@ rm -rf hadoop-tools/hadoop-extras/src/test
%mvn_file :%{name}-common::tests: %{name}/%{name}-common
%build
%set_build_flags
# increase JVM memory limits to avoid OOM during build
%ifarch s390x ppc64le
export MAVEN_OPTS="-Xms2048M -Xmx4096M"
@ -1130,6 +1131,9 @@ fi
%attr(6050,root,yarn) %{_bindir}/container-executor
%changelog
* Tue May 29 2018 Rafael dos Santos <rdossant@redhat.com> - 2.7.3-10
- Use standard Fedora build/linker flags (rhbz#1540172)
* Wed Mar 07 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 2.7.3-9
- Add gcc-c++ BuildRequires