rpms/cups/FC-5 cups.spec,1.207,1.208

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Aug 16 16:16:21 UTC 2006


Author: twaugh

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

Modified Files:
	cups.spec 
Log Message:
* Wed Aug 16 2006 Tim Waugh <twaugh at redhat.com>
- Added a clause in the %post scriptlet to remove bad remote.cache
  files (bug #201800).



Index: cups.spec
===================================================================
RCS file: /cvs/dist/rpms/cups/FC-5/cups.spec,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -r1.207 -r1.208
--- cups.spec	16 Aug 2006 09:15:41 -0000	1.207
+++ cups.spec	16 Aug 2006 16:16:18 -0000	1.208
@@ -281,6 +281,14 @@
 if [ $1 -eq 1 ]; then
   # First install.  Build ppds.dat.
   /sbin/service cups reload >/dev/null 2>&1 || :
+else
+  # Work around STR #1893.
+  if [ -f /var/lock/subsys/cups ]
+  then
+    /sbin/service cups stop > /dev/null 2>&1
+    /bin/rm -f /var/cache/cups/remote.cache
+    /sbin/service cups start > /dev/null 2>&1
+  fi
 fi
 exit 0
 
@@ -406,6 +414,10 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Wed Aug 16 2006 Tim Waugh <twaugh at redhat.com>
+- Added a clause in the %%post scriptlet to remove bad remote.cache
+  files (bug #201800).
+
 * Wed Aug 16 2006 Tim Waugh <twaugh at redhat.com> 1:1.2.2-1.7
 - Use upstream patch to fix STR #1881.
 - Remove 'Provides: LPRng = 3.8.15-3' (bug #148757).




More information about the fedora-cvs-commits mailing list