[eclipse-jgit] Build eclipse plugin first to not interfere with maven artifacts.

Alexander Kurtakov akurtakov at fedoraproject.org
Thu Jan 5 14:17:57 UTC 2012


commit 2001b727c706a827532eee875cf9bcccde023344
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Thu Jan 5 16:17:28 2012 +0200

    Build eclipse plugin first to not interfere with maven artifacts.

 eclipse-jgit.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/eclipse-jgit.spec b/eclipse-jgit.spec
index 2763c94..97c2c48 100644
--- a/eclipse-jgit.spec
+++ b/eclipse-jgit.spec
@@ -3,7 +3,7 @@
 
 Name:           eclipse-jgit
 Version:        1.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Eclipse JGit
 
 Group:          Development/Tools
@@ -60,11 +60,11 @@ sed -i -e "s|\${bundle-manifest}|\${source-bundle-manifest}|g" \
 %patch0
 
 %build
+# build plugin
+%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.jgit
 # build JARs
 mvn-rpmbuild -Dtranslate-qualifier=true install \
  -pl "org.eclipse.jgit,org.eclipse.jgit.ui,org.eclipse.jgit.console,org.eclipse.jgit.iplog,org.eclipse.jgit.pgm"
-# build plugin
-%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.jgit
 
 %install
 install -d -m 755 %{buildroot}%{install_loc}
@@ -123,6 +123,9 @@ install -m 755 org.eclipse.jgit.pgm/jgit.sh %{buildroot}%{_bindir}/jgit
 %doc README
 
 %changelog
+* Thu Jan 5 2012 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-2
+- Build eclipse plugin first to not interfere with maven artifacts.
+
 * Thu Jan 5 2012 Alexander Kurtakov <akurtako at redhat.com> 1.2.0-1
 - Update to 1.2.0 release.
 


More information about the scm-commits mailing list