Fwd: Request EPEL-6 branch for icu4j
by Jochen Schmitt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
because I didn't saw any response from the original mail, I will send
this message with
the original message above.
Best Regards:
Jochen Schmitt
- -------- Original Message --------
Subject: Request EPEL-6 branch for icu4j
Date: Thu, 01 Dec 2011 18:41:43 +0100
From: Jochen Schmitt <Jochen(a)herr-schmitt.de>
To: fnasser(a)fedoraproject.org
Hallo,
I have a requrest to build pdftk for EPEL-6.
Unfortunately, I have to find out, that I need icu4j as a
requirement to build pdftk for EPEL-6. So I want to ask you
if you can provide icu4j on EPEL-6.
If you not want to maintain this package on EPEL-6, I can take this task
for you after you have create a SCM Admin request to creating the
EPEL-6 branch for your package.
Best Regards:
Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iJwEAQECAAYFAk7c/TAACgkQZLAIBz9lVu/U6wP9Fpc3tORQEaldFY/Fjm9oGeJy
B7QIHs6bwV5b4xfWZCoLjKS+7rO203dZ2sx2uHuCY9WQfpjTrGA/NxrndpdE6CVy
SMdPk2gFuB2r3DRFLjPgr+rhxuM6yt0pP9HC41z87O+m0lPa8mPESA3oddONIQX4
DKJJMpFHs+iUzyCiodo=
=0csR
-----END PGP SIGNATURE-----
12 years, 5 months
[maven-repository-plugin] Fix building/working in pure maven3 environment.
by Alexander Kurtakov
commit 541e2eafb51e471df3a40fdf069186c20f6c8d51
Author: Alexander Kurtakov < <akurtako(a)redhat.com>
Date: Mon Dec 5 23:25:08 2011 +0200
Fix building/working in pure maven3 environment.
add_compat.patch | 14 ++++++++++++++
maven-repository-plugin.spec | 8 ++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/add_compat.patch b/add_compat.patch
new file mode 100644
index 0000000..ece6731
--- /dev/null
+++ b/add_compat.patch
@@ -0,0 +1,14 @@
+--- pom.xml.sav 2010-07-17 16:17:08.000000000 +0300
++++ pom.xml 2011-12-05 23:22:34.397692299 +0200
+@@ -98,6 +98,11 @@ under the License.
+ <version>2.0.6</version>
+ </dependency>
+ <dependency>
++ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>3.0.2</version>
++ </dependency>
++ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-plugin-testing-harness</artifactId>
+ <version>1.0-beta-1</version>
diff --git a/maven-repository-plugin.spec b/maven-repository-plugin.spec
index 1e25b37..60f5008 100644
--- a/maven-repository-plugin.spec
+++ b/maven-repository-plugin.spec
@@ -1,13 +1,13 @@
Name: maven-repository-plugin
Version: 2.3.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Plugin to create bundles of artifacts for manual uploaded to repository
Group: Development/Libraries
License: ASL 2.0
URL: http://maven.apache.org/plugins/maven-repository-plugin/
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}...
-
+Patch0: add_compat.patch
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
@@ -52,6 +52,7 @@ API documentation for %{name}.
%prep
%setup -q
+%patch0
%build
#FIXME: test gets java.lang.NullPointerException
@@ -93,6 +94,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%{_javadocdir}/%{name}
%changelog
+* Mon Dec 5 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.3.1-4
+- Fix building/working in pure maven3 environment.
+
* Wed Jun 8 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.3.1-3
- Build with maven 3.x.
- Adapt to current guidelines.
12 years, 5 months
[maven-idea-plugin] Fix working in pure maven 3 environment.
by Alexander Kurtakov
commit c95239f2653e4ac38019d727f8c058733e7f94b0
Author: Alexander Kurtakov < <akurtako(a)redhat.com>
Date: Mon Dec 5 23:19:40 2011 +0200
Fix working in pure maven 3 environment.
add_compat.patch | 14 ++++++++++++++
maven-idea-plugin.spec | 17 +++++++----------
2 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/add_compat.patch b/add_compat.patch
new file mode 100644
index 0000000..7db769e
--- /dev/null
+++ b/add_compat.patch
@@ -0,0 +1,14 @@
+--- pom.xml.sav 2008-08-04 00:10:55.000000000 +0300
++++ pom.xml 2011-12-05 23:13:21.718239773 +0200
+@@ -86,6 +86,11 @@
+ <artifactId>maven-model</artifactId>
+ <version>2.0.1</version>
+ </dependency>
++ <dependency>
++ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>3.0.2</version>
++ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
diff --git a/maven-idea-plugin.spec b/maven-idea-plugin.spec
index 09978f7..df0a9a4 100644
--- a/maven-idea-plugin.spec
+++ b/maven-idea-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-idea-plugin
Version: 2.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Maven IDEA Plugin
Group: Development/Libraries
@@ -9,6 +9,7 @@ URL: http://maven.apache.org/plugins/%{name}
# svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-idea-plugin-2.2
# tar caf maven-idea-plugin-2.2.tar.xz maven-idea-plugin-2.2
Source0: %{name}-%{version}.tar.xz
+Patch0: add_compat.patch
BuildArch: noarch
@@ -32,8 +33,6 @@ Requires: ant
Requires: maven
Requires: jpackage-utils
Requires: java
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
Obsoletes: maven2-plugin-idea <= 0:2.0.8
Provides: maven2-plugin-idea = 1:%{version}-%{release}
@@ -54,6 +53,7 @@ Requires: jpackage-utils
%prep
%setup -q
+%patch0
%build
# we skip test because even with binary mvn release these fail for
@@ -69,18 +69,12 @@ install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}
# poms
install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap org.apache.maven.plugins %{name} %{version} JPP %{name}
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
# javadoc
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%{_javadir}/*
%{_mavenpomdir}/*
@@ -90,6 +84,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%{_javadocdir}/%{name}
%changelog
+* Mon Dec 5 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.2-6
+- Fix working in pure maven 3 environment.
+
* Fri Jun 17 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.2-5
- Build with maven 3.x
12 years, 5 months
[maven-ant-plugin] Fix compile in pure maven 3(without maven 2 installed).
by Alexander Kurtakov
commit 447cee5567b3fe87118a9cd143eb506cb86c8f32
Author: Alexander Kurtakov < <akurtako(a)redhat.com>
Date: Mon Dec 5 19:17:46 2011 +0200
Fix compile in pure maven 3(without maven 2 installed).
maven-ant-plugin-pom.patch | 7 ++++++-
maven-ant-plugin.spec | 15 ++++++---------
2 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/maven-ant-plugin-pom.patch b/maven-ant-plugin-pom.patch
index cca6a5e..5cc40a2 100644
--- a/maven-ant-plugin-pom.patch
+++ b/maven-ant-plugin-pom.patch
@@ -1,6 +1,6 @@
--- pom.xml.orig 2009-11-07 22:29:37.000000000 +0800
+++ pom.xml 2010-05-31 14:23:19.000000000 +0800
-@@ -120,12 +120,6 @@
+@@ -120,12 +120,11 @@
<scope>test</scope>
</dependency>
<dependency>
@@ -10,6 +10,11 @@
- <scope>test</scope>
- </dependency>
- <dependency>
++ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>3.0.2</version>
++ </dependency>
++ <dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>${antVersion}</version>
diff --git a/maven-ant-plugin.spec b/maven-ant-plugin.spec
index 7b8e3e4..a1f5d98 100644
--- a/maven-ant-plugin.spec
+++ b/maven-ant-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-ant-plugin
Version: 2.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Maven Ant Plugin
Group: Development/Libraries
@@ -68,21 +68,15 @@ mvn-rpmbuild \
# jars
install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-%add_to_maven_depmap org.apache.maven.plugins %{name} %{version} JPP %{name}
-
# poms
install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%{_javadir}/*
%{_mavenpomdir}/*
@@ -92,6 +86,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%{_javadocdir}/%{name}
%changelog
+* Mon Dec 5 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.3-7
+- Fix compile in pure maven 3(without maven 2 installed).
+
* Fri Jun 17 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.3-6
- Build with maven 3.
12 years, 5 months
[maven-doxia-tools] Don't require post/postun jpackage-utils.
by Alexander Kurtakov
commit c40687889df6bb36ab2d2c2156e4ec745a021b4e
Author: Alexander Kurtakov < <akurtako(a)redhat.com>
Date: Mon Dec 5 19:06:47 2011 +0200
Don't require post/postun jpackage-utils.
maven-doxia-tools.spec | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/maven-doxia-tools.spec b/maven-doxia-tools.spec
index 1877054..189a8c5 100644
--- a/maven-doxia-tools.spec
+++ b/maven-doxia-tools.spec
@@ -1,6 +1,6 @@
Name: maven-doxia-tools
Version: 1.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Maven Doxia Integration Tools
Group: Development/Libraries
@@ -42,8 +42,6 @@ Requires: maven-doxia
Requires: maven-doxia-sitetools
Requires: jpackage-utils
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
%description
A collection of tools to help the integration of Doxia in Maven plugins.
@@ -90,6 +88,9 @@ install -Dpm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
%doc LICENSE
%changelog
+* Mon Dec 5 2011 Alexander Kurtakov <akurtako(a)redhat.com> 1.4-3
+- Don't require post/postun jpackage-utils.
+
* Tue Sep 27 2011 Alexander Kurtakov <akurtako(a)redhat.com> 1.4-2
- Install license as doc.
- Use new package names.
12 years, 5 months
[maven-install-plugin/f16] Fixes for pure maven 3 build without maven 2 in buildroot
by Stanislav Ochotnicky
commit 60ab6b1a32616dcfa861d249cb46fcd9097ccd8b
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Mon Dec 5 17:42:29 2011 +0100
Fixes for pure maven 3 build without maven 2 in buildroot
- Guideline fixes
0001-Fix-up-dependencies-for-maven-3.patch | 39 ++++++++++++++++++++++++++++
maven-install-plugin.spec | 33 ++++++++++-------------
pom.patch | 13 ---------
3 files changed, 54 insertions(+), 31 deletions(-)
---
diff --git a/0001-Fix-up-dependencies-for-maven-3.patch b/0001-Fix-up-dependencies-for-maven-3.patch
new file mode 100644
index 0000000..9078a3e
--- /dev/null
+++ b/0001-Fix-up-dependencies-for-maven-3.patch
@@ -0,0 +1,39 @@
+From 8bb6f84a0b48ca569cf046e48500e2c04f1d9223 Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
+Date: Mon, 5 Dec 2011 17:36:35 +0100
+Subject: [PATCH] Fix up dependencies for maven 3
+
+---
+ pom.xml | 9 +++++++++
+ 1 files changed, 9 insertions(+), 0 deletions(-)
+
+diff --git a/pom.xml b/pom.xml
+index 36754e2..8d6d1b5 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -57,6 +57,11 @@ under the License.
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>${mavenVersion}</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>${mavenVersion}</version>
+ </dependency>
+@@ -76,6 +81,10 @@ under the License.
+ <version>${mavenVersion}</version>
+ </dependency>
+ <dependency>
++ <groupId>org.apache.maven.wagon</groupId>
++ <artifactId>wagon-provider-api</artifactId>
++ </dependency>
++ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>${mavenVersion}</version>
+--
+1.7.7.3
+
diff --git a/maven-install-plugin.spec b/maven-install-plugin.spec
index 9ca679e..8923e90 100644
--- a/maven-install-plugin.spec
+++ b/maven-install-plugin.spec
@@ -1,15 +1,15 @@
Name: maven-install-plugin
Version: 2.3.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Maven Install Plugin
Group: Development/Libraries
License: ASL 2.0
URL: http://maven.apache.org/plugins/maven-install-plugin
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}...
-Patch0: pom.patch
+Patch0: 0001-Fix-up-dependencies-for-maven-3.patch
-BuildArch: noarch
+BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: maven
@@ -34,8 +34,6 @@ Requires: jpackage-utils
Requires: java
Requires: maven-archiver
Requires: plexus-digest
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
Provides: maven2-plugin-install = %{version}-%{release}
Obsoletes: maven2-plugin-install <= 0:2.0.8
@@ -53,9 +51,9 @@ API documentation for %{name}.
%prep
-%setup -q
-#Add dependency of wagon-provider-api
-%patch0
+%setup -q
+#Add dependency to make this work properly with maven 3
+%patch0 -p1
%build
mvn-rpmbuild \
@@ -67,34 +65,33 @@ mvn-rpmbuild \
install -d -m 0755 %{buildroot}%{_javadir}
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-%add_to_maven_depmap org.apache.maven.plugins maven-install-plugin %{version} JPP maven-install-plugin
# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%doc LICENSE NOTICE
-%{_javadir}/*
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/*
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
%files javadoc
%doc LICENSE
%{_javadocdir}/%{name}
%changelog
+* Mon Dec 5 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 2.3.1-4
+- Fixes for pure maven 3 build without maven 2 in buildroot
+- Guideline fixes
+
* Fri Jun 3 2011 Alexander Kurtakov <akurtako(a)redhat.com> 2.3.1-3
- Build with maven v3.
- Guidelines fixes.
12 years, 5 months
[netty] Update to latest upstream version
by Stanislav Ochotnicky
commit 329d8d630b073a6c4623026ed92c054806e27713
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Mon Dec 5 16:09:26 2011 +0100
Update to latest upstream version
.gitignore | 1 +
...l-deps.patch => 0001-Remove-optional-deps.patch | 41 ++++--------
...0002-Replace-jboss-logger-with-jdk-logger.patch | 6 +-
... => 0003-Fix-javadoc-plugin-configuration.patch | 30 +++------
...ove-antun-execution-for-removing-examples.patch | 71 ++++++++++++++++++++
netty.spec | 26 +++++---
sources | 2 +-
7 files changed, 115 insertions(+), 62 deletions(-)
---
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 <sochotnicky(a)redhat.com>
-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 @@
<optional>true</optional>
</dependency>
<dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-spi</artifactId>
-- <version>2.1.1.GA</version>
+- <version>2.1.2.GA</version>
- <scope>compile</scope>
- <optional>true</optional>
- </dependency>
@@ -25,25 +25,12 @@ index 806f05c..e61a552 100644
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
-@@ -157,12 +150,6 @@
- <scope>test</scope>
- </dependency>
- <dependency>
-- <groupId>org.easymock</groupId>
-- <artifactId>easymockclassextension</artifactId>
-- <version>2.5.2</version>
-- <scope>test</scope>
-- </dependency>
-- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>1.5.11</version>
-@@ -426,128 +413,6 @@
+@@ -462,128 +455,6 @@
</configuration>
</plugin>
<plugin>
- <artifactId>maven-jxr-plugin</artifactId>
-- <version>2.1</version>
+- <version>2.2</version>
- <executions>
- <execution>
- <id>generate-xref</id>
@@ -60,8 +47,8 @@ index 806f05c..e61a552 100644
- <destDir>${project.build.directory}/xref</destDir>
- <javadocDir>${project.build.directory}/api</javadocDir>
- <stylesheet>${basedir}/src/xref/stylesheet.css</stylesheet>
-- <docTitle>${project.name} Source Xref (${project.version}, r${buildNumber})</docTitle>
-- <windowTitle>${project.name} Source Xref (${project.version}, r${buildNumber})</windowTitle>
+- <docTitle>${project.name} Source Xref (${project.version})</docTitle>
+- <windowTitle>${project.name} Source Xref (${project.version})</windowTitle>
- </configuration>
- </plugin>
- <plugin>
@@ -165,8 +152,8 @@ index 806f05c..e61a552 100644
- </plugin>
- <plugin>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-5</version>
+ <version>2.2</version>
<executions>
--
-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 <sochotnicky(a)redhat.com>
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 <sochotnicky(a)redhat.com>
-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 @@
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-- <parent>
-- <groupId>org.jboss</groupId>
-- <artifactId>jboss-parent</artifactId>
-- <version>5</version>
-- </parent>
-
- <groupId>org.jboss.netty</groupId>
- <artifactId>netty</artifactId>
-@@ -400,23 +395,9 @@
+@@ -408,23 +408,9 @@
</execution>
</executions>
<configuration>
@@ -47,7 +35,7 @@ index fbece2d..806f05c 100644
<version>true</version>
<author>true</author>
<keywords>true</keywords>
-@@ -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
<encoding>UTF-8</encoding>
<locale>en_US</locale>
--
-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 <sochotnicky(a)redhat.com>
+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 @@
+ </tasks>
+ </configuration>
+ </execution>
+- <execution>
+- <id>remove-examples</id>
+- <phase>package</phase>
+- <goals>
+- <goal>run</goal>
+- </goals>
+- <configuration>
+- <tasks>
+- <taskdef resource="net/sf/antcontrib/antlib.xml" />
+- <if>
+- <or>
+- <equals arg2="jar" arg1="${project.packaging}" />
+- <equals arg2="bundle" arg1="${project.packaging}" />
+- </or>
+- <then>
+- <move file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${project.build.finalName}.orig.jar" />
+- <zip destfile="${project.build.directory}/${project.build.finalName}.jar">
+- <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
+- <include name="META-INF/MANIFEST.MF" />
+- </zipfileset>
+- <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}.orig.jar" dirmode="755">
+- <exclude name="META-INF/MANIFEST.MF" />
+- <exclude name="*/*/*/example/**" />
+- </zipfileset>
+- </zip>
+- <delete file="${project.build.directory}/${project.build.finalName}.orig.jar" />
+- <checksum file="${project.build.directory}/${project.build.finalName}.jar" algorithm="md5" forceoverwrite="yes" />
+- <checksum file="${project.build.directory}/${project.build.finalName}.jar" algorithm="sha1" forceoverwrite="yes" />
+- <move file="${project.build.directory}/${project.build.finalName}-sources.jar" tofile="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
+- <zip destfile="${project.build.directory}/${project.build.finalName}-sources.jar">
+- <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
+- <include name="META-INF/MANIFEST.MF" />
+- </zipfileset>
+- <zipfileset filemode="644" src="${project.build.directory}/${project.build.finalName}-sources.orig.jar" dirmode="755">
+- <exclude name="META-INF/MANIFEST.MF" />
+- <exclude name="*/*/*/example/**" />
+- </zipfileset>
+- </zip>
+- <delete file="${project.build.directory}/${project.build.finalName}-sources.orig.jar" />
+- <checksum file="${project.build.directory}/${project.build.finalName}-sources.jar" algorithm="md5" forceoverwrite="yes" />
+- <checksum file="${project.build.directory}/${project.build.finalName}-sources.jar" algorithm="sha1" forceoverwrite="yes" />
+- </then>
+- </if>
+- </tasks>
+- </configuration>
+- </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+--
+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...
-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 <sochotnicky(a)redhat.com> - 3.2.4-1
+- Update to latest upstream version
+
* Mon Jul 4 2011 Alexander Kurtakov <akurtako(a)redhat.com> 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
12 years, 5 months