Fix the generated swt.jar.

This commit is contained in:
Krzysztof Daniel 2013-02-05 13:31:50 +01:00
parent 07ac0436c7
commit 4d3abf6115

View File

@ -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@redhat.com> 1:4.2.2-0.6.git20121217
- Fix the generated swt.jar.
* Fri Jan 25 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.2-0.5.git20121217
- RHBZ#832053: Ship SWT and other native plugins as folders.