[eclipse/f19] Install jdt jar even for local swt local build.

Krzysztof Daniel kdaniel at fedoraproject.org
Sat May 18 19:12:52 UTC 2013


commit 3217da02be0135ee3342f1fa4bd1d080fd92d748
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Sat May 18 21:12:43 2013 +0200

    Install jdt jar even for local swt local build.

 eclipse.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index 941ca19..317feec 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -52,7 +52,7 @@ fi;
 Summary:        An open, extensible IDE
 Name:           %{?scl_prefix}eclipse
 Version:        %{eclipse_version}
-Release:        0.50.git4bccf2%{?dist}
+Release:        0.51.git4bccf2%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/
@@ -490,6 +490,11 @@ pushd rt.equinox.framework/bundles/org.eclipse.equinox.executable/library/gtk/
 popd
 
 pushd eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.%{eclipse_arch}
+	#keep it here for secondary platforms.
+	mvn-rpmbuild install:install-file -Dfile=/usr/share/java/eclipse/jdt.core.jar -DgroupId=org.eclipse.jdt \
+    -DartifactId=org.eclipse.jdt.core -Dversion=3.9.0.v20130501-2254 -Dpackaging=jar -DskipTychoVersionCheck \
+	-Dtycho.local.keepTarget
+
 	mvn-rpmbuild clean install \
    -Dmaven.test.skip=true -Dnative=gtk.linux.%{eclipse_arch} -DskipTychoVersionCheck \
    -Dtycho.local.keepTarget -Dmaven.repo.local=../../../.m2
@@ -1000,6 +1005,9 @@ fi
 %{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.util_*
 
 %changelog
+* Sat May 18 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.3.0-0.51.git4bccf2
+- Install jdt jar even for local swt local build.
+
 * Sat May 18 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.3.0-0.50.git4bccf2
 - Update version of jdt.
 


More information about the scm-commits mailing list