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

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Wed Jun 20 18:34:29 UTC 2007


Author: hadess

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

Modified Files:
	evince.spec 
Log Message:
* Wed Jun 20 2007 - Bastien Nocera <bnocera at redhat.com> - 0.8.0-8
- Don't uninstall _all_ the schemas in preun and pre



Index: evince.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evince/F-7/evince.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- evince.spec	20 Jun 2007 17:32:44 -0000	1.80
+++ evince.spec	20 Jun 2007 18:33:54 -0000	1.81
@@ -5,7 +5,7 @@
 
 Name:		evince
 Version:	0.8.0
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	Document viewer
 
 License: 	GPL
@@ -86,8 +86,9 @@
 %pre
 if [ "$1" -gt 1 ]; then
 	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-	for i in %{_sysconfdir}/gconf/schemas/* ; do \
-		gconftool-2 --makefile-uninstall-rule $i >/dev/null || : ; \
+	for i in evince.schemas evince-thumbnailer.schemas evince-thumbnailer-comics.schemas ; do \
+		test -f %{_sysconfdir}/gconf/schemas/$i && \
+		gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$i >/dev/null || : ; \
 	done
 fi
 
@@ -110,8 +111,9 @@
 %preun
 if [ "$1" -eq 0 ]; then
 	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-	for i in %{_sysconfdir}/gconf/schemas/* ; do \
-		gconftool-2 --makefile-uninstall-rule $i >/dev/null || : ; \
+	for i in evince.schemas evince-thumbnailer.schemas evince-thumbnailer-comics.schemas ; do \
+		test -f %{_sysconfdir}/gconf/schemas/$i && \
+		gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$i >/dev/null || : ; \
 	done
 fi
 
@@ -140,6 +142,9 @@
 
 
 %changelog
+* Wed Jun 20 2007 - Bastien Nocera <bnocera at redhat.com> - 0.8.0-8
+- Don't uninstall _all_ the schemas in preun and pre
+
 * 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)




More information about the fedora-extras-commits mailing list