rpms/cups/devel cups.init,1.18,1.19 cups.spec,1.484,1.485

Tim Waugh twaugh at fedoraproject.org
Fri Jul 24 12:22:35 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/cups/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1434

Modified Files:
	cups.init cups.spec 
Log Message:
* Fri Jul 24 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.11
- Tell udevd to replay printer add events in the initscript.



Index: cups.init
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups.init,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- cups.init	25 Feb 2009 11:27:37 -0000	1.18
+++ cups.init	24 Jul 2009 12:22:35 -0000	1.19
@@ -60,6 +60,13 @@ start () {
         RETVAL=$?
 	echo
 	[ $RETVAL = 0 ] && touch /var/lock/subsys/cups
+
+	udevadm trigger --subsystem-match=usb	\
+		--attr-match=bInterfaceClass=07	\
+		--attr-match=bInterfaceSubClass=01 &>/dev/null || :
+        udevadm trigger --subsystem-match=usb \
+		--property-match=DEVNAME="/dev/usb/lp*" &>/dev/null || :
+
 	return 0
 }
 


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v
retrieving revision 1.484
retrieving revision 1.485
diff -u -p -r1.484 -r1.485
--- cups.spec	15 Jul 2009 13:27:21 -0000	1.484
+++ cups.spec	24 Jul 2009 12:22:35 -0000	1.485
@@ -10,7 +10,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.4
-Release: 0.%{pre}.10%{?dist}
+Release: 0.%{pre}.11%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2
@@ -503,6 +503,9 @@ rm -rf $RPM_BUILD_ROOT
 %{php_extdir}/phpcups.so
 
 %changelog
+* Fri Jul 24 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.11
+- Tell udevd to replay printer add events in the initscript.
+
 * Wed Jul 15 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.10
 - Applied patch to prevent bad job control files crashing cupsd on
   start-up (STR #3253, bug #509741).




More information about the fedora-extras-commits mailing list