[eclipse/f18] Fix the /usr/lib/java/swt.jar symlink.

Krzysztof Daniel kdaniel at fedoraproject.org
Wed Feb 27 13:42:01 UTC 2013


commit 5fd560af5c33392de8cfbb8932bc0b3d49bf25bd
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Wed Feb 27 14:41:53 2013 +0100

    Fix the /usr/lib/java/swt.jar symlink.

 eclipse.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index 3e29322..db4c69f 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -65,7 +65,7 @@ fi;
 Summary:        An open, extensible IDE
 Name:           eclipse
 Version:        %{eclipse_version}
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/
@@ -930,7 +930,7 @@ popd
     ln -s  %{_libdir}/%{name}/plugins/"${SWT_JAR}.jar" swt.jar
     ln -s  %{_libdir}/%{name}/plugins/"${SWT_JAR}.jar" swt-gtk.jar
 	mkdir -p ../../lib/java
-	ln -s ../%{name}/swt.jar ../../lib/java/swt.jar
+	ln -s  %{_libdir}/%{pkg_name}/swt.jar ../../lib/java/swt.jar
 popd
 
 #eclipse ini
@@ -1334,6 +1334,9 @@ rm -rf %{_bindir}/efj/
 %{_mavendepmapfragdir}/%{name}-equinox-osgi
 
 %changelog
+* Wed Feb 27 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.2-2
+- Fix the /usr/lib/java/swt.jar symlink.
+
 * Wed Feb 20 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.2-1
 - Update to upstream 4.2.2 release.
 


More information about the scm-commits mailing list