rpms/foomatic/devel foomatic.spec,1.167,1.168

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Fri Oct 12 08:54:45 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/foomatic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1645

Modified Files:
	foomatic.spec 
Log Message:
* Fri Oct 12 2007 Tim Waugh <twaugh at redhat.com> 3.0.2-52
- Removed use of printconf hooks.
- Don't restart CUPS on upgrade.



Index: foomatic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/foomatic/devel/foomatic.spec,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- foomatic.spec	21 Sep 2007 16:26:30 -0000	1.167
+++ foomatic.spec	12 Oct 2007 08:54:13 -0000	1.168
@@ -6,7 +6,7 @@
 Summary: Foomatic printer database.
 Name:		foomatic
 Version:	3.0.2
-Release:    51%{?dist}
+Release:    52%{?dist}
 License:	GPL
 Group: System Environment/Libraries
 
@@ -66,9 +66,8 @@
 Conflicts: ghostscript < 7.05
 Conflicts: hpijs < 1.5
 
-# Some XM files have a <drivers> tag which confuses the older printconf
-# parser.
-Conflicts: system-config-printer < 0.6.139
+# We don't use the printconf hooks now, so require that they are gone.
+Conflicts: system-config-printer < 0.7.0
 
 %description
 Foomatic is a comprehensive, spooler-independent database of printers,
@@ -228,19 +227,6 @@
 
 %post
 /bin/rm -f /var/cache/foomatic/*
-
-# Try to rebuild the printconf data
-if [ -x /usr/share/printconf/util/updateconf.py ] ; then
-   /usr/share/printconf/util/updateconf.py >/dev/null 2>&1
-fi
-if [ -x /usr/sbin/printconf-backend ] ; then
-   /usr/sbin/printconf-backend --force-rebuild >/dev/null 2>&1
-fi
-
-# restart the print server if it is running now
-/sbin/service lpd condrestart >/dev/null 2>&1
-/sbin/service cups condrestart >/dev/null 2>&1
-
 exit 0
 
 %clean
@@ -262,6 +248,10 @@
 %{_var}/cache/foomatic
 
 %changelog
+* Fri Oct 12 2007 Tim Waugh <twaugh at redhat.com> 3.0.2-52
+- Removed use of printconf hooks.
+- Don't restart CUPS on upgrade.
+
 * Fri Sep 21 2007 Tim Waugh <twaugh at redhat.com> 3.0.2-51
 - Build requires perl(ExtUtils::MakeMaker).
 - Updated filters to 3.0-20070919.




More information about the fedora-extras-commits mailing list