diff --git a/hplip-udev-rules.patch b/hplip-udev-rules.patch index afc61ea..6b79b06 100644 --- a/hplip-udev-rules.patch +++ b/hplip-udev-rules.patch @@ -15,3 +15,15 @@ diff -up hplip-3.11.7/data/rules/56-hpmud_support.rules.udev-rules hplip-3.11.7/ ENV{hp_test}=="yes", RUN+="/bin/sh -c '/usr/bin/hp-mkuri -c &'" LABEL="hpmud_rules_end" +diff -up hplip-3.11.10/Makefile.in.udev-rules hplip-3.11.10/Makefile.in +--- hplip-3.11.10/Makefile.in.udev-rules 2011-10-02 05:11:49.000000000 +0200 ++++ hplip-3.11.10/Makefile.in 2011-10-24 14:23:17.336002785 +0200 +@@ -4093,7 +4093,7 @@ cups_drv = prnt/drv/hpcups.drv + @HPLIP_BUILD_TRUE@hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\" + + # hpmud.rules +-@HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d ++@HPLIP_BUILD_TRUE@rulesdir = /lib/udev/rules.d + @HPLIP_BUILD_TRUE@dist_rules_DATA = data/rules/56-hpmud_support.rules \ + @HPLIP_BUILD_TRUE@ $(am__append_2) $(am__append_3) + @HPLIP_BUILD_TRUE@halpredir = /usr/share/hal/fdi/preprobe/10osvendor diff --git a/hplip.spec b/hplip.spec index 11096cd..3683fb3 100644 --- a/hplip.spec +++ b/hplip.spec @@ -187,8 +187,8 @@ mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs} # directly (bug #552572). %patch6 -p1 -b .mucks-with-spooldir -# Removed SYSFS use in udev rules and actually made them work -# (bug #560754). +# Removed SYSFS use in udev rules and actually made them work (bug #560754). +# Move udev rules to /lib/udev/rules.d (bug #748208). %patch7 -p1 -b .udev-rules # Retry when connecting to device fails (bug #532112).