- Fix typo in %postun of -sdk and -platform.
This commit is contained in:
parent
71f7bf03d9
commit
ec43790fb2
@ -31,7 +31,7 @@ Epoch: 1
|
|||||||
Summary: An open, extensible IDE
|
Summary: An open, extensible IDE
|
||||||
Name: eclipse
|
Name: eclipse
|
||||||
Version: %{eclipse_majmin}.%{eclipse_micro}
|
Version: %{eclipse_majmin}.%{eclipse_micro}
|
||||||
Release: 0.RC.2%{?dist}
|
Release: 0.RC.3%{?dist}
|
||||||
License: EPL
|
License: EPL
|
||||||
Group: Text Editors/Integrated Development Environments (IDE)
|
Group: Text Editors/Integrated Development Environments (IDE)
|
||||||
URL: http://www.eclipse.org/
|
URL: http://www.eclipse.org/
|
||||||
@ -1219,7 +1219,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|||||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||||
fi
|
fi
|
||||||
if [ -d %{_datadir}/%{name}/features ]; then
|
if [ -d %{_datadir}/%{name}/features ]; then
|
||||||
PLATFORMDIR=$(ls %{_datadir}/%{name}/features | grep "org\.eclipse\.platform_"
|
PLATFORMDIR=$(ls %{_datadir}/%{name}/features | grep "org\.eclipse\.platform_")
|
||||||
if [ ! -z "$PLATFORMDIR" -a -f %{_datadir}/%{name}/configuration/config.ini ]; then
|
if [ ! -z "$PLATFORMDIR" -a -f %{_datadir}/%{name}/configuration/config.ini ]; then
|
||||||
sed --in-place "s/eclipse.product=org.eclipse.platform.ide/#eclipse.product=/" \
|
sed --in-place "s/eclipse.product=org.eclipse.platform.ide/#eclipse.product=/" \
|
||||||
%{_datadir}/%{name}/configuration/config.ini
|
%{_datadir}/%{name}/configuration/config.ini
|
||||||
@ -1240,7 +1240,7 @@ fi
|
|||||||
%{_bindir}/rebuild-gcj-db
|
%{_bindir}/rebuild-gcj-db
|
||||||
%endif
|
%endif
|
||||||
if [ -d %{_datadir}/%{name}/features ]; then
|
if [ -d %{_datadir}/%{name}/features ]; then
|
||||||
SDKDIR=$(ls %{_datadir}/%{name}/features | grep "org\.eclipse\.sdk_"
|
SDKDIR=$(ls %{_datadir}/%{name}/features | grep "org\.eclipse\.sdk_")
|
||||||
if [ ! -z "$SDKDIR" -a -f %{_datadir}/%{name}/configuration/config.ini ]; then
|
if [ ! -z "$SDKDIR" -a -f %{_datadir}/%{name}/configuration/config.ini ]; then
|
||||||
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
|
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
|
||||||
%{_datadir}/%{name}/configuration/config.ini
|
%{_datadir}/%{name}/configuration/config.ini
|
||||||
@ -1590,6 +1590,9 @@ fi
|
|||||||
%{_datadir}/%{name}/plugins/org.eclipse.sdk_*
|
%{_datadir}/%{name}/plugins/org.eclipse.sdk_*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
|
||||||
|
- Fix typo in %postun of -sdk and -platform.
|
||||||
|
|
||||||
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
|
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
|
||||||
- Don't set eclipse.product incorrectly in %postun of -sdk and -platform.
|
- Don't set eclipse.product incorrectly in %postun of -sdk and -platform.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user