[eclipse/f18] Fix the generated swt.jar.
Krzysztof Daniel
kdaniel at fedoraproject.org
Tue Feb 5 13:32:21 UTC 2013
commit 4d3abf6115644530071be3aa238494ab8aa0d5da
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date: Tue Feb 5 13:31:50 2013 +0100
Fix the generated swt.jar.
eclipse.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index 891522e..b95bcf7 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -65,7 +65,7 @@ fi;
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_version}
-Release: 0.5.git20121217%{?dist}
+Release: 0.6.git20121217%{?dist}
License: EPL
Group: Development/Tools
URL: http://www.eclipse.org/
@@ -903,7 +903,8 @@ popd
pushd $RPM_BUILD_ROOT/%{_libdir}/%{name}
pushd plugins
SWT_JAR=`ls | grep swt.gtk`
-zip "${SWT_JAR}.jar" ${SWT_JAR}/*
+cd ${SWT_JAR}
+zip "../${SWT_JAR}.jar" *
popd
ln -s %{_libdir}/%{name}/plugins/"${SWT_JAR}.jar" swt.jar
ln -s %{_libdir}/%{name}/plugins/"${SWT_JAR}.jar" swt-gtk.jar
@@ -1316,6 +1317,9 @@ rm -rf %{_bindir}/efj/
%{_mavendepmapfragdir}/%{name}-equinox-osgi
%changelog
+* Tue Feb 5 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.2-0.6.git20121217
+- Fix the generated swt.jar.
+
* Fri Jan 25 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.2-0.5.git20121217
- RHBZ#832053: Ship SWT and other native plugins as folders.
More information about the scm-commits
mailing list