[rmic-maven-plugin] Update to latest upstream.

Alexander Kurtakov akurtakov at fedoraproject.org
Mon Jul 23 14:00:35 UTC 2012


commit 4e5861dcd662e260e1baa9b49097db354ece57a1
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Mon Jul 23 17:00:23 2012 +0300

    Update to latest upstream.

 .gitignore             |    1 +
 rmic-maven-plugin.spec |   21 ++++++++-------------
 sources                |    2 +-
 3 files changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 092a9c9..2c8f1df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 rmic-maven-plugin-1.1.tar.gz
+rmic-maven-plugin-1.2.0-source-release.zip
diff --git a/rmic-maven-plugin.spec b/rmic-maven-plugin.spec
index 653939f..696df2a 100644
--- a/rmic-maven-plugin.spec
+++ b/rmic-maven-plugin.spec
@@ -1,6 +1,6 @@
 Name:             rmic-maven-plugin
-Version:          1.1
-Release:          9%{?dist}
+Version:          1.2.0
+Release:          1%{?dist}
 Summary:          Uses the java rmic compiler to generate classes used in remote method invocation
 License:          MIT
 Group:            Development/Libraries
@@ -35,9 +35,6 @@ Requires:         plexus-compiler
 Requires:         plexus-container-default
 Requires:         plexus-utils
 
-Requires(post):   jpackage-utils
-Requires(postun): jpackage-utils
-
 %description
 This plugin works with Maven 2 and uses the java rmic compiler to generate
 classes used in remote method invocation.
@@ -53,6 +50,8 @@ This package contains the API documentation for %{name}.
 %prep
 %setup -q
 
+sed -i -e "s|groupId>plexus|groupId>org.codehaus.plexus|g" pom.xml
+
 %build
 mvn-rpmbuild install javadoc:aggregate
 
@@ -64,19 +63,12 @@ install -pm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.ja
 # pom
 install -d -m 0755 %{buildroot}%{_mavenpomdir}
 install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap org.codehaus.mojo %{name} %{version} JPP %{name}
+%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.txt
 %{_javadir}/*
@@ -88,6 +80,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
 %{_javadocdir}/%{name}
 
 %changelog
+* Mon Jul 23 2012 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-1
+- Update to latest upstream.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 58f96b7..1d35054 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-83f43dbca64885cfb5641e6eeb22a044  rmic-maven-plugin-1.1-source-release.zip
+c77c73177256eb2cb0051b42d3ad3564  rmic-maven-plugin-1.2.0-source-release.zip


More information about the scm-commits mailing list