rpms/hplip/devel hplip-udev-rules.patch, 1.1, 1.2 hplip.spec, 1.156, 1.157

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Thu Aug 30 15:27:22 UTC 2007


Author: twaugh

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

Modified Files:
	hplip-udev-rules.patch hplip.spec 
Log Message:
* Thu Aug 30 2007 Tim Waugh <twaugh at redhat.com> 2.7.7-3
- Updated udev rules to allow scanning by console user.


hplip-udev-rules.patch:

Index: hplip-udev-rules.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/devel/hplip-udev-rules.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hplip-udev-rules.patch	20 Jul 2007 13:25:43 -0000	1.1
+++ hplip-udev-rules.patch	30 Aug 2007 15:27:19 -0000	1.2
@@ -1,12 +1,14 @@
---- hplip-2.7.6/55-hpmud.rules.udev-rules	2007-07-20 14:13:01.000000000 +0100
-+++ hplip-2.7.6/55-hpmud.rules	2007-07-20 14:13:32.000000000 +0100
-@@ -1,5 +1,7 @@
+--- hplip-2.7.7/55-hpmud.rules.udev-rules	2007-05-17 17:48:16.000000000 +0100
++++ hplip-2.7.7/55-hpmud.rules	2007-08-09 10:22:42.000000000 +0100
+@@ -1,5 +1,9 @@
  # TODO: add PROGRAM rule for 7/xx/xx printer class interface
 -SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
 +SUBSYSTEM!="usb", GOTO="hpmud_rules_end"
 +ATTR{devnum}!="?*", GOTO="hpmud_rules_end"
 +ATTR{busnum}!="?*", GOTO="hpmud_rules_end"
++ENV{PHYSDEVDRIVER}=="usblp", GOTO="hpmud_rules_end"
  ACTION!="add", GOTO="hpmud_rules_end"
 -SYSFS{idVendor}=="03f0", GROUP="lp"
 +SYSFS{idVendor}=="03f0", GROUP="lp", MODE="0664"
++SYSFS{idVendor}=="03f0", SYMLINK+="scanner-%k"
  LABEL="hpmud_rules_end"


Index: hplip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/devel/hplip.spec,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -r1.156 -r1.157
--- hplip.spec	29 Aug 2007 15:55:05 -0000	1.156
+++ hplip.spec	30 Aug 2007 15:27:19 -0000	1.157
@@ -1,7 +1,7 @@
 Summary: HP Linux Imaging and Printing Project
 Name: hplip
 Version: 2.7.7
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+ and MIT
 Group: System Environment/Daemons
 Conflicts: system-config-printer < 0.6.132
@@ -271,6 +271,9 @@
 exit 0
 
 %changelog
+* Thu Aug 30 2007 Tim Waugh <twaugh at redhat.com> 2.7.7-3
+- Updated udev rules to allow scanning by console user.
+
 * Wed Aug 29 2007 Tim Waugh <twaugh at redhat.com> 2.7.7-2
 - Better buildroot tag.
 - More specific license tag.




More information about the fedora-extras-commits mailing list