rpms/evince/F-7 evince.spec,1.79,1.80

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Wed Jun 20 17:33:19 UTC 2007


Author: hadess

Update of /cvs/pkgs/rpms/evince/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10184

Modified Files:
	evince.spec 
Log Message:
* Wed Jun 20 2007 - Bastien Nocera <bnocera at redhat.com> - 0.8.0-7
- Avoid error message when the schemas for the comics part doesn't
  exist (#245029)



Index: evince.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evince/F-7/evince.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- evince.spec	13 Jun 2007 09:46:53 -0000	1.79
+++ evince.spec	20 Jun 2007 17:32:44 -0000	1.80
@@ -5,7 +5,7 @@
 
 Name:		evince
 Version:	0.8.0
-Release:	6%{?dist}
+Release:	7%{?dist}
 Summary:	Document viewer
 
 License: 	GPL
@@ -86,14 +86,11 @@
 %pre
 if [ "$1" -gt 1 ]; then
 	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-	gconftool-2 --makefile-uninstall-rule \
-      		%{_sysconfdir}/gconf/schemas/evince.schemas \
-      		%{_sysconfdir}/gconf/schemas/evince-thumbnailer.schemas \
-		%{_sysconfdir}/gconf/schemas/evince-thumbnailer-comics.schemas \
-			>/dev/null || :
+	for i in %{_sysconfdir}/gconf/schemas/* ; do \
+		gconftool-2 --makefile-uninstall-rule $i >/dev/null || : ; \
+	done
 fi
 
-
 %post
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule \
@@ -113,14 +110,11 @@
 %preun
 if [ "$1" -eq 0 ]; then
 	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-	gconftool-2 --makefile-uninstall-rule \
-      		%{_sysconfdir}/gconf/schemas/evince.schemas \
-      		%{_sysconfdir}/gconf/schemas/evince-thumbnailer.schemas \
-		%{_sysconfdir}/gconf/schemas/evince-thumbnailer-comics.schemas \
-			>/dev/null || :
+	for i in %{_sysconfdir}/gconf/schemas/* ; do \
+		gconftool-2 --makefile-uninstall-rule $i >/dev/null || : ; \
+	done
 fi
 
-
 %postun
 update-desktop-database &> /dev/null ||:
 scrollkeeper-update -q || :
@@ -146,6 +140,10 @@
 
 
 %changelog
+* Wed Jun 20 2007 - Bastien Nocera <bnocera at redhat.com> - 0.8.0-7
+- Avoid error message when the schemas for the comics part doesn't
+  exist (#245029)
+
 * Wed Jun 13 2007 - Bastien Nocera <bnocera at redhat.com> - 0.8.0-6
 - Add comics support (#186865)
 




More information about the fedora-extras-commits mailing list