- Add triggerpostun to deal with old rebuild-sdk-features postun crap.

This commit is contained in:
Andrew Overholt 2006-09-29 22:16:11 +00:00
parent 790b59733e
commit 27f7937103
1 changed files with 13 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 2%{?dist}
Release: 3%{?dist}
License: EPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@ -1276,6 +1276,15 @@ fi
%postun pde-sdk -p %{_bindir}/rebuild-gcj-db
%endif
# This is to deal with my stupidity that manifested itself as
# rebuild-sdk-features -- overholt
%triggerpostun rcp -- eclipse-rcp < 3.2.1, eclipse-rcp-devel < 3.2.1, eclipse-pde < 3.2.1, eclipse-pde-devel < 3.2.1, eclipse-jdt < 3.2.1, eclipse-jdt-devel < 3.2.1, eclipse-platform < 3.2.1, eclipse-platform-devel < 3.2.1
# Remove crap from rebuild-sdk-features
rm -rf %{_datadir}/%{name}/features/org.eclipse.sdk_3.1.2
# Remove pre-configured, unnecessary platform.xml created by rebuild-sdk-features
rm -f %{_datadir}/%{name}/configuration/org.eclipse.update/platform.xml*
%files ecj
%defattr(-,root,root)
%dir %{_datadir}/%{name}
@ -1596,6 +1605,9 @@ fi
%{_datadir}/%{name}/plugins/org.eclipse.sdk_*
%changelog
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
- Add triggerpostun to deal with old rebuild-sdk-features postun crap.
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
- Fix swt-firefox patch to not create DSOs with undefined symbols.