rpms/xsane/FC-5 xsane.spec,1.34,1.35

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Oct 9 13:14:23 UTC 2006


Author: nphilipp

Update of /cvs/dist/rpms/xsane/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv20870

Modified Files:
	xsane.spec 
Log Message:
don't barf on missing gimp-plugin-mgr when updating (#208159)



Index: xsane.spec
===================================================================
RCS file: /cvs/dist/rpms/xsane/FC-5/xsane.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- xsane.spec	28 Aug 2006 07:16:55 -0000	1.34
+++ xsane.spec	9 Oct 2006 13:14:20 -0000	1.35
@@ -3,7 +3,7 @@
 Name: xsane
 Summary: An X Window System front-end for the SANE scanner interface.
 Version: 0.991
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
 Source1: xsane.desktop
 Source2: xsane.conf.in
@@ -105,14 +105,17 @@
 %config %{_sysconfdir}/gimp/plugins.d/xsane.conf
 
 %post gimp
-%{_sbindir}/gimp-plugin-mgr --install xsane
+test -x "%{_sbindir}/gimp-plugin-mgr" && %{_sbindir}/gimp-plugin-mgr --install xsane
 
 %preun gimp
 if [ $1 = 0 ]; then
-        %{_sbindir}/gimp-plugin-mgr --uninstall xsane
+        test -x "%{_sbindir}/gimp-plugin-mgr" && %{_sbindir}/gimp-plugin-mgr --uninstall xsane
 fi
 
 %changelog
+* Mon Oct 02 2006 Nils Philippsen <nphilipp at redhat.com> - 0.991-2
+- don't barf on missing gimp-plugin-mgr when updating (#208159)
+
 * Mon Aug 28 2006 Nils Philippsen <nphilipp at redhat.com> - 0.991-1
 - version 0.991
 - remove obsolete buffer patch




More information about the fedora-cvs-commits mailing list