Remove _bindir/efj in pre - Fixes #738677
This commit is contained in:
parent
6d17c3589a
commit
124ed83b37
|
@ -16,7 +16,7 @@ Epoch: 1
|
|||
Summary: An open, extensible IDE
|
||||
Name: eclipse
|
||||
Version: %{eclipse_majmin}.%{eclipse_micro}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: EPL
|
||||
Group: Text Editors/Integrated Development Environments (IDE)
|
||||
URL: http://www.eclipse.org/
|
||||
|
@ -286,8 +286,7 @@ fi
|
|||
|
||||
%pre jdt
|
||||
# workaround for rpm bug, can be removed in F-20 Fixes the problem with efj being directory instead of launcher
|
||||
[ $1 -gt 1 ] && [ -L %{_bindir}/efj ] && \
|
||||
rm -rf $(readlink -f %{_bindir}/efj) %{_bindir}/efj || :
|
||||
rm -rf %{_bindir}/efj/
|
||||
|
||||
%if %{initialize}
|
||||
%files swt -f %{name}-swt.install
|
||||
|
@ -524,6 +523,9 @@ rm -rf $(readlink -f %{_bindir}/efj) %{_bindir}/efj || :
|
|||
%{_libdir}/%{name}/dropins/sdk
|
||||
|
||||
%changelog
|
||||
* Wed Sep 21 2011 Alexander Kurtakov <akurtako@redhat.com> 1:3.7.0-4
|
||||
- Remove _bindir/efj in pre - Fixes #738677.
|
||||
|
||||
* Mon Sep 12 2011 Alexander Kurtakov <akurtako@redhat.com> 1:3.7.0-3
|
||||
- Use latest eclipse-build snapshot - fixes openjdk 7 build.
|
||||
- Fix efj launcher script.
|
||||
|
|
Loading…
Reference in New Issue