Updated protobuf version

This commit is contained in:
Mike Miller 2017-08-04 11:37:03 -04:00
parent 8b89aa3af0
commit c2ac6d019f
1 changed files with 5 additions and 6 deletions

View File

@ -11,7 +11,7 @@
Name: hadoop
Version: 2.7.3
Release: 5%{?dist}
Release: 6%{?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
@ -424,11 +424,7 @@ This package contains files needed to run Apache Hadoop YARN in secure mode.
%prep
%autosetup -p1 -n %{name}-%{version}-src
%if 0%{?fedora} > 25
%pom_xpath_set "pom:properties/pom:protobuf.version" 3.2.0 hadoop-project
%else
%pom_xpath_set "pom:properties/pom:protobuf.version" 2.6.1 hadoop-project
%endif
%pom_xpath_set "pom:properties/pom:protobuf.version" 3.3.1 hadoop-project
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions/pom:execution[pom:phase='test-compile']" "<id>default-jar</id>" hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell
# Remove the maven-site-plugin. It's not needed
@ -1133,6 +1129,9 @@ fi
%attr(6050,root,yarn) %{_bindir}/container-executor
%changelog
* Fri Aug 04 2017 Mike Miller <mmiller@apache.org> - 2.7.3-6
- Updated protobuf version
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild