diff --git a/gimp.spec b/gimp.spec index 2e99407..b2d27f3 100644 --- a/gimp.spec +++ b/gimp.spec @@ -43,7 +43,7 @@ Version: 2.2.14 %define age 0 %define minorver 200 %define microver %(ver=%{version}; echo ${ver##*.*.}) -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 2 License: GPL, LGPL Group: Applications/Multimedia @@ -275,10 +275,13 @@ touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi +%{_sbindir}/gimp-plugin-mgr --uninstall '*' %{_sbindir}/gimp-plugin-mgr --install '*' %preun -%{_sbindir}/gimp-plugin-mgr --uninstall '*' +if [ "$1" = "0" ]; then + %{_sbindir}/gimp-plugin-mgr --uninstall '*' +fi %postun if [ "$1" = "0" ]; then @@ -410,6 +413,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Mon Apr 30 2007 Nils Philippsen - 2:2.2.14-3 +- don't erroneously delete symlinks to external plugins when updating (#238337) + * Mon Apr 30 2007 Nils Philippsen - 2:2.2.14-2 - avoid buffer overflow in sunras plugin (#238422)