From 329d8d630b073a6c4623026ed92c054806e27713 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Mon, 5 Dec 2011 16:09:26 +0100 Subject: [PATCH] Update to latest upstream version --- .gitignore | 1 + ...s.patch => 0001-Remove-optional-deps.patch | 41 ++++------- ...Replace-jboss-logger-with-jdk-logger.patch | 6 +- ...003-Fix-javadoc-plugin-configuration.patch | 30 +++----- ...ntun-execution-for-removing-examples.patch | 71 +++++++++++++++++++ netty.spec | 26 ++++--- sources | 2 +- 7 files changed, 115 insertions(+), 62 deletions(-) rename 0002-Remove-optional-deps.patch => 0001-Remove-optional-deps.patch (85%) rename 0003-Replace-jboss-logger-with-jdk-logger.patch => 0002-Replace-jboss-logger-with-jdk-logger.patch (90%) rename 0001-Remove-parent-and-fix-javadoc-plugin-config.patch => 0003-Fix-javadoc-plugin-configuration.patch (66%) create mode 100644 0004-Remove-antun-execution-for-removing-examples.patch diff --git a/.gitignore b/.gitignore index 42c8d97..4ee48c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /netty-3.2.3.Final-dist.tar.bz2 +/netty-3.2.4.Final-dist.tar.bz2 diff --git a/0002-Remove-optional-deps.patch b/0001-Remove-optional-deps.patch similarity index 85% rename from 0002-Remove-optional-deps.patch rename to 0001-Remove-optional-deps.patch index 3567aa8..86cd9f2 100644 --- a/0002-Remove-optional-deps.patch +++ b/0001-Remove-optional-deps.patch @@ -1,23 +1,23 @@ -From 13a221991b69065fbd70fd9f6d29d62f03880ef1 Mon Sep 17 00:00:00 2001 +From f246eb5c5ac4f19e93706630b39ce27cea1918e1 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky -Date: Thu, 13 Jan 2011 14:59:40 +0100 -Subject: [PATCH 2/3] Remove optional deps +Date: Mon, 5 Dec 2011 14:15:52 +0100 +Subject: [PATCH 1/4] Remove optional deps --- - pom.xml | 135 --------------------------------------------------------------- - 1 files changed, 0 insertions(+), 135 deletions(-) + pom.xml | 129 --------------------------------------------------------------- + 1 files changed, 0 insertions(+), 129 deletions(-) diff --git a/pom.xml b/pom.xml -index 806f05c..e61a552 100644 +index a1597fe..77fb611 100644 --- a/pom.xml +++ b/pom.xml -@@ -111,13 +111,6 @@ +@@ -116,13 +116,6 @@ true - org.jboss.logging - jboss-logging-spi -- 2.1.1.GA +- 2.1.2.GA - compile - true - @@ -25,25 +25,12 @@ index 806f05c..e61a552 100644 log4j log4j 1.2.16 -@@ -157,12 +150,6 @@ - test - - -- org.easymock -- easymockclassextension -- 2.5.2 -- test -- -- - org.slf4j - slf4j-simple - 1.5.11 -@@ -426,128 +413,6 @@ +@@ -462,128 +455,6 @@ - maven-jxr-plugin -- 2.1 +- 2.2 - - - generate-xref @@ -60,8 +47,8 @@ index 806f05c..e61a552 100644 - ${project.build.directory}/xref - ${project.build.directory}/api - ${basedir}/src/xref/stylesheet.css -- ${project.name} Source Xref (${project.version}, r${buildNumber}) -- ${project.name} Source Xref (${project.version}, r${buildNumber}) +- ${project.name} Source Xref (${project.version}) +- ${project.name} Source Xref (${project.version}) - - - @@ -165,8 +152,8 @@ index 806f05c..e61a552 100644 - - maven-assembly-plugin - 2.2-beta-5 + 2.2 -- -1.7.3.4 +1.7.7.3 diff --git a/0003-Replace-jboss-logger-with-jdk-logger.patch b/0002-Replace-jboss-logger-with-jdk-logger.patch similarity index 90% rename from 0003-Replace-jboss-logger-with-jdk-logger.patch rename to 0002-Replace-jboss-logger-with-jdk-logger.patch index 8922699..a7efd53 100644 --- a/0003-Replace-jboss-logger-with-jdk-logger.patch +++ b/0002-Replace-jboss-logger-with-jdk-logger.patch @@ -1,7 +1,7 @@ -From 06b89af693f824af86a3103505bb7f93128c22a2 Mon Sep 17 00:00:00 2001 +From 61b66b45737653da51cc25d2771a97c811525e0f Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Thu, 13 Jan 2011 15:02:01 +0100 -Subject: [PATCH 3/3] Replace jboss logger with jdk logger +Subject: [PATCH 2/4] Replace jboss logger with jdk logger --- .../microcontainer/NettyLoggerConfigurator.java | 4 ++-- @@ -29,5 +29,5 @@ index 2ccc731..eca8a6a 100644 } } -- -1.7.3.4 +1.7.7.3 diff --git a/0001-Remove-parent-and-fix-javadoc-plugin-config.patch b/0003-Fix-javadoc-plugin-configuration.patch similarity index 66% rename from 0001-Remove-parent-and-fix-javadoc-plugin-config.patch rename to 0003-Fix-javadoc-plugin-configuration.patch index 42fc2d6..ade8050 100644 --- a/0001-Remove-parent-and-fix-javadoc-plugin-config.patch +++ b/0003-Fix-javadoc-plugin-configuration.patch @@ -1,29 +1,17 @@ -From 12b26381c9c47432d63f941b2bf4877874e78c12 Mon Sep 17 00:00:00 2001 +From 0312ee7b5802105ec60de51ef4aeb0797dec972c Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky -Date: Thu, 13 Jan 2011 14:59:07 +0100 -Subject: [PATCH 1/3] Remove parent and fix javadoc plugin config +Date: Mon, 5 Dec 2011 14:31:36 +0100 +Subject: [PATCH 3/4] Fix javadoc plugin configuration --- - pom.xml | 21 --------------------- - 1 files changed, 0 insertions(+), 21 deletions(-) + pom.xml | 16 ---------------- + 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml -index fbece2d..806f05c 100644 +index 77fb611..8615b36 100644 --- a/pom.xml +++ b/pom.xml -@@ -17,11 +17,6 @@ - - - 4.0.0 -- -- org.jboss -- jboss-parent -- 5 -- - - org.jboss.netty - netty -@@ -400,23 +395,9 @@ +@@ -408,23 +408,9 @@ @@ -47,7 +35,7 @@ index fbece2d..806f05c 100644 true true true -@@ -438,8 +419,6 @@ +@@ -446,8 +432,6 @@ -group "Reusable I/O event interceptors" ${project.groupId}.handler* -group "Miscellaneous" ${project.groupId}.logging*:${project.groupId}.util* @@ -57,5 +45,5 @@ index fbece2d..806f05c 100644 UTF-8 en_US -- -1.7.3.4 +1.7.7.3 diff --git a/0004-Remove-antun-execution-for-removing-examples.patch b/0004-Remove-antun-execution-for-removing-examples.patch new file mode 100644 index 0000000..3aaa1a6 --- /dev/null +++ b/0004-Remove-antun-execution-for-removing-examples.patch @@ -0,0 +1,71 @@ +From e25559365fd6bd5ff6942351bc53ab0a5a61ef77 Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky +Date: Mon, 5 Dec 2011 15:52:27 +0100 +Subject: [PATCH 4/4] Remove antun execution for removing examples + +For some reason -sources.jar is not generated before so it +fails. Should investigate one of these days... +--- + pom.xml | 46 ---------------------------------------------- + 1 files changed, 0 insertions(+), 46 deletions(-) + +diff --git a/pom.xml b/pom.xml +index 8615b36..443b4c8 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -324,52 +324,6 @@ + + + +- +- remove-examples +- package +- +- run +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + + + +-- +1.7.7.3 + diff --git a/netty.spec b/netty.spec index 5b6365b..60a73a1 100644 --- a/netty.spec +++ b/netty.spec @@ -1,6 +1,6 @@ Name: netty -Version: 3.2.3 -Release: 4%{?dist} +Version: 3.2.4 +Release: 1%{?dist} Summary: An asynchronous event-driven network application framework and tools for Java Group: Development/Libraries @@ -8,9 +8,10 @@ License: ASL 2.0 URL: http://www.jboss.org/netty Source0: http://sourceforge.net/projects/jboss/files/%{name}-%{version}.Final-dist.tar.bz2 -Patch0: 0001-Remove-parent-and-fix-javadoc-plugin-config.patch -Patch1: 0002-Remove-optional-deps.patch -Patch2: 0003-Replace-jboss-logger-with-jdk-logger.patch +Patch0: 0001-Remove-optional-deps.patch +Patch1: 0002-Replace-jboss-logger-with-jdk-logger.patch +Patch2: 0003-Fix-javadoc-plugin-configuration.patch +Patch3: 0004-Remove-antun-execution-for-removing-examples.patch BuildArch: noarch @@ -31,11 +32,10 @@ BuildRequires: ant-contrib BuildRequires: subversion BuildRequires: protobuf-java BuildRequires: felix-osgi-compendium +BuildRequires: jboss-parent Requires: java Requires: protobuf-java -Requires(post): jpackage-utils -Requires(postun): jpackage-utils %description Netty is a NIO client server framework which enables quick and easy @@ -66,6 +66,9 @@ Requires: jpackage-utils # just to be sure, but not used anyway rm -rf jar/ +# example doesn't build with our protobuf +rm -rf src/main/java/org/jboss/netty/example/localtime + %patch0 -p1 %patch1 -p1 @@ -73,11 +76,11 @@ rm -rf jar/ # we don't have jboss logging facilites so we replace it with jdk logger rm src/main/java/org/jboss/netty/logging/JBossLogger*.java %patch2 -p1 +%patch3 -p1 %build # skipping tests because we don't have all dependencies in Fedora -mvn-rpmbuild \ - -Dmaven.test.skip=true \ +mvn-rpmbuild -Dmaven.test.skip=true \ install javadoc:javadoc @@ -98,7 +101,7 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom %files %doc LICENSE.txt NOTICE.txt -%{_javadir}/*.jar +%{_javadir}/%{name}.jar %{_mavendepmapfragdir}/%{name} %{_mavenpomdir}/JPP-%{name}.pom @@ -107,6 +110,9 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom %{_javadocdir}/%{name} %changelog +* Mon Dec 5 2011 Stanislav Ochotnicky - 3.2.4-1 +- Update to latest upstream version + * Mon Jul 4 2011 Alexander Kurtakov 3.2.3-4 - Fix FTBFS. - Adapt to current guidelines. diff --git a/sources b/sources index 01fcf79..ad80068 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -000441ea4a805fc9f3abe3aa1e93c85f netty-3.2.3.Final-dist.tar.bz2 +e82ab04f165162c156344c469395df58 netty-3.2.4.Final-dist.tar.bz2