[zookeeper] Update to build f21-rawhide against jline 2.10 and netty3

tstclair tstclair at fedoraproject.org
Mon Jan 27 20:15:20 UTC 2014


commit 671bd1786baf1b22ea8f681a6a4aa9b76a59d8f6
Author: Timothy St. Clair <tstclair at redhat.com>
Date:   Mon Jan 27 14:15:30 2014 -0600

    Update to build f21-rawhide against jline 2.10 and netty3

 zookeeper-3.4.4-build.patch |    4 ++--
 zookeeper.spec              |   16 ++++++++++++----
 2 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/zookeeper-3.4.4-build.patch b/zookeeper-3.4.4-build.patch
index 609c76e..65002fe 100644
--- a/zookeeper-3.4.4-build.patch
+++ b/zookeeper-3.4.4-build.patch
@@ -406,10 +406,10 @@ diff -Nru zookeeper-3.4.4/ivy.xml zookeeper-3.4.4-gil/ivy.xml
 -    <dependency org="log4j" name="log4j" rev="1.2.15" transitive="false" conf="default"/>
 -    <dependency org="jline" name="jline" rev="0.9.94" transitive="false" conf="default"/>
 +    <dependency org="log4j" name="log4j" rev="" transitive="false" conf="default"/>
-+    <dependency org="jline" name="jline" rev="" transitive="false" conf="default"/>
++    <!--<dependency org="jline" name="jline" rev="" transitive="false" conf="default"/>-->
  
 -    <dependency org="org.jboss.netty" name="netty" conf="default" rev="3.2.2.Final">
-+    <dependency org="org.jboss.netty" name="netty" conf="default" rev="">
++    <dependency org="io.netty" name="netty" conf="default" rev="">
        <artifact name="netty" type="jar" conf="default"/>
      </dependency>
  
diff --git a/zookeeper.spec b/zookeeper.spec
index 24f9d01..e956388 100644
--- a/zookeeper.spec
+++ b/zookeeper.spec
@@ -1,7 +1,8 @@
 %global _hardened_build 1
+
 Name:          zookeeper
 Version:       3.4.5
-Release:       14%{?dist}
+Release:       15%{?dist}
 Summary:       A high-performance coordination service for distributed applications
 #Group:         Development/Libraries
 License:       ASL 2.0 and BSD
@@ -44,12 +45,12 @@ BuildRequires: ant
 BuildRequires: ant-junit
 BuildRequires: apache-ivy
 BuildRequires: checkstyle
-BuildRequires: jline1
+BuildRequires: jline
 BuildRequires: jtoaster
 BuildRequires: junit
 BuildRequires: log4j
 BuildRequires: mockito
-BuildRequires: netty
+BuildRequires: netty3
 BuildRequires: slf4j
 BuildRequires: xerces-j2
 BuildRequires: xml-commons-apis
@@ -100,7 +101,7 @@ Requires:      jtoaster
 Requires:      junit
 Requires:      log4j
 Requires:      mockito
-Requires:      netty
+Requires:      netty3
 Requires:      slf4j
 
 Requires:      java
@@ -167,6 +168,10 @@ find -name "*.dll" -delete
 %patch7 -p1
 %patch8 -p0 
 
+sed -i "s|<version>0.9.94</version>|<version>2.10</version>|" dist-maven/%{name}-%{version}.pom
+sed -i "s|<version>3.2.2.Final</version>|<version>3.6.6.Final</version>|" dist-maven/%{name}-%{version}.pom
+sed -i "s|org.jboss.netty|io.netty|" dist-maven/%{name}-%{version}.pom
+
 sed -i "s|<packaging>pom</packaging>|<packaging>jar</packaging>|" dist-maven/%{name}-%{version}.pom
 sed -i "s|<groupId>checkstyle</groupId>|<groupId>com.puppycrawl.tools</groupId>|" dist-maven/%{name}-%{version}.pom
 sed -i "s|<artifactId>mockito-all</artifactId>|<artifactId>mockito-core</artifactId>|" dist-maven/%{name}-%{version}.pom
@@ -368,6 +373,9 @@ getent passwd zookeeper >/dev/null || \
 %{_unitdir}/zookeeper.service
 
 %changelog
+* Fri Jan 24 2014 Timothy St. Clair <tstclair at redhat.com> - 3.4.5-15
+- Update dependencies to jline and netty3
+
 * Fri Oct 25 2013 Timothy St. Clair <tstclair at redhat.com> - 3.4.5-14
 - Update dependencies to jline1
 


More information about the scm-commits mailing list