rpms/gimp/devel gimp.spec,1.121,1.122

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Apr 30 16:45:19 UTC 2007


Author: nphilipp

Update of /cvs/dist/rpms/gimp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31116

Modified Files:
	gimp.spec 
Log Message:
don't erroneously delete symlinks to external plugins when updating (#238337)



Index: gimp.spec
===================================================================
RCS file: /cvs/dist/rpms/gimp/devel/gimp.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- gimp.spec	30 Apr 2007 15:23:50 -0000	1.121
+++ gimp.spec	30 Apr 2007 16:45:17 -0000	1.122
@@ -43,7 +43,7 @@
 %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 @@
 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 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Mon Apr 30 2007 Nils Philippsen <nphilipp at redhat.com> - 2:2.2.14-3
+- don't erroneously delete symlinks to external plugins when updating (#238337)
+
 * Mon Apr 30 2007 Nils Philippsen <nphilipp at redhat.com> - 2:2.2.14-2
 - avoid buffer overflow in sunras plugin (#238422)
 




More information about the fedora-cvs-commits mailing list