Hello community,

here is the log from the commit of package sane-backends for openSUSE:Factory
checked in at Mon May 2 13:09:10 CEST 2011.



--------
--- sane-backends/sane-backends.changes 2011-02-20 11:43:27.000000000 +0100
+++ /mounts/work_src_done/STABLE/sane-backends/sane-backends.changes    
2011-03-29 14:43:19.000000000 +0200
@@ -1,0 +2,19 @@
+Tue Mar 29 13:07:20 CEST 2011 - [email protected]
+
+- Fixed udev rules for SCSI scanners:
+  For SCSI scanners "ATTRS" is mandatory for every sysfs attribute
+  (in particular ATTRS{type}, ATTRS{vendor}, and ATTRS{model})
+  so that "ATTRS" is replaced by "ATTR" only for USB scanners
+  (see openSUSE/Novell Bugzilla bnc#681146).
+
+-------------------------------------------------------------------
+Fri Mar 25 10:27:36 CET 2011 - [email protected]
+
+- Fixed udev rules for SCSI scanners:
+  Because of openSUSE/Novell Bugzilla bnc#436085
+  (see the entry below dated "Tue Oct 21 13:12:42 CEST 2008")
+  "SYSFS" and "ATTRS" were replaced by "ATTR" everywhere in
+  libsane.rules but for SCSI scanners "ATTRS{type}" is mandatory
+  (see openSUSE/Novell Bugzilla bnc#681146).
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sane-backends.spec ++++++
--- /var/tmp/diff_new_pack.5YObyM/_old  2011-05-02 13:04:58.000000000 +0200
+++ /var/tmp/diff_new_pack.5YObyM/_new  2011-05-02 13:04:58.000000000 +0200
@@ -30,7 +30,7 @@
 AutoReqProv:    on
 Summary:        SANE (Scanner Access Now Easy) Scanner Drivers
 Version:        1.0.22
-Release:        2
+Release:        3
 Url:            http://www.sane-project.org/
 # URL for Source0: 
https://alioth.debian.org/frs/download.php/3258/sane-backends-1.0.21.tar.gz
 # MD5 sum for upstream sane-backends-1.0.21.tar.gz (not our .bz2): 
be586a23633949cf2ecf0c9c6d769130
@@ -165,7 +165,7 @@
 %endif
 # Up to SLE10 there was the package name 'sane' for 'sane-backends'.
 # Therefore this RPM provides 'sane' and it also obsoletes it.
-# The %{version} s needed in both Provides and Obsoletes
+# The %{version} is needed in both Provides and Obsoletes
 # to avoid a RPMLINT warning that the package obsoletes itself:
 Provides:       sane = %{version}
 Obsoletes:      sane < %{version}
@@ -522,10 +522,7 @@
 # Also the evil-hack init-script "sane-dev" is no longer provided.
 # Regarding udev:
 # Modify the generated tools/udev/libsane.rules file as follows:
-# All GROUP="scanner" are replaced by GROUP="lp" and
-# SUBSYSTEM=="usb" is added before the SUBSYSTEM=="usb_device" test
-# but the latter is kept for backward compatibility.
-# The reasons are:
+# All GROUP="scanner" are replaced by GROUP="lp".
 # There is no group "scanner" in /etc/group for openSUSE.
 # For all-in-one devices (i.e. printer + scanner, e.g. "EPSON Stylus" devices)
 # the group must be "lp" so that the CUPS usb backend which runs
@@ -536,15 +533,17 @@
 # usually require physical user access (to get the printed paper or
 # to place a paper on the scanner) so that both kind of devices
 # should usually require the same kind of security.
+sed -i -e 's/GROUP="scanner"/GROUP="lp"/' tools/udev/libsane.rules
 # Regarding SUBSYSTEM=="usb" see the Novell/Suse Bugzilla bug
 # https://bugzilla.novell.com/show_bug.cgi?id=294161#c11
-# Regarding SYSFS{} or ATTRS{} versus ATTR{} see the Novell/Suse Bugzilla bug
+sed -i -e '/^SUBSYSTEM/s/"usb_device"/"usb"/' tools/udev/libsane.rules
+# Regarding ATTRS{} (formerly SYSFS{}) versus ATTR{} see the Novell/Suse 
Bugzilla bug
 # https://bugzilla.novell.com/show_bug.cgi?id=436085#c0
+# but for SCSI scanners "ATTRS" is mandatory see the Novell/Suse Bugzilla bug
+# https://bugzilla.novell.com/show_bug.cgi?id=681146#c20
+# so that "ATTRS" is replaced by "ATTR" only for USB scanners.
+sed -i -e 
'/^LABEL="libsane_usb_rules_begin"/,/^LABEL="libsane_usb_rules_end"/s/ATTRS/ATTR/g'
 tools/udev/libsane.rules
 # Disable all ENV{DEVTYPE} lines because we (Suse/Novell) do not need them.
-sed -i -e 's/GROUP="scanner"/GROUP="lp"/' tools/udev/libsane.rules
-sed -i -e '/^SUBSYSTEM/s/"usb_device"/"usb"/' tools/udev/libsane.rules
-sed -i -e 's/SYSFS/ATTR/g' tools/udev/libsane.rules
-sed -i -e 's/ATTRS/ATTR/g' tools/udev/libsane.rules
 sed -i -e 's/^ENV{DEVTYPE}/# ENV{DEVTYPE}/' tools/udev/libsane.rules
 # Disable entries for USB scanners which are "unsupported"
 # but keep the entries for models for which the support status


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to