[cups/f12/master] Specify udevadm trigger action in initscript (bug #623959).
Tim Waugh
twaugh at fedoraproject.org
Fri Aug 13 09:58:40 UTC 2010
commit 6729d05bcdd8ea923e34c025fda3c601d3c719c0
Author: Tim Waugh <twaugh at redhat.com>
Date: Fri Aug 13 10:49:07 2010 +0100
Specify udevadm trigger action in initscript (bug #623959).
cups.init | 12 +++++++-----
cups.spec | 5 +++--
2 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/cups.init b/cups.init
index 09f7171..c455461 100644
--- a/cups.init
+++ b/cups.init
@@ -74,11 +74,13 @@ start () {
echo
[ $RETVAL = 0 ] && touch $lockfile
- 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 || :
+ udevadm trigger --subsystem-match=usb \
+ --attr-match=bInterfaceClass=07 \
+ --attr-match=bInterfaceSubClass=01 \
+ --action=add &>/dev/null || :
+ udevadm trigger --subsystem-match=usb \
+ --property-match=DEVNAME="/dev/usb/lp*" \
+ --action=add &>/dev/null || :
return 0
}
diff --git a/cups.spec b/cups.spec
index 3c45cee..e7a3446 100644
--- a/cups.spec
+++ b/cups.spec
@@ -8,7 +8,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.4.4
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -578,7 +578,8 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so
%changelog
-* Tue Aug 3 2010 Tim Waugh <twaugh at redhat.com>
+* Tue Aug 3 2010 Tim Waugh <twaugh at redhat.com> 1:1.4.4-6
+- Specify udevadm trigger action in initscript (bug #623959).
- Build requires gnutls-devel not openssl-devel.
* Mon Jun 28 2010 Tim Waugh <twaugh at redhat.com> 1:1.4.4-5
More information about the scm-commits
mailing list