Package: sane-backends
Version: 1.0.27-1~experimental3
Followup-For: Bug #880391
User: [email protected]
Usertags: origin-ubuntu bionic ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: Drop timestamps from conflicting multiarch:same files
    hwdb.d/20-sane.hwdb and rules.d/60-libsane1.rules (closes: #880391)

Should be self-explanatory.  Thanks for considering the patch.

... Adam

-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-25-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru sane-backends-1.0.27/debian/rules sane-backends-1.0.27/debian/rules
--- sane-backends-1.0.27/debian/rules   2017-10-28 05:18:46.000000000 -0600
+++ sane-backends-1.0.27/debian/rules   2018-02-03 14:26:39.000000000 -0700
@@ -107,7 +107,9 @@
        # udev support
        # Generate the udev rules file
        $(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m udev+hwdb > 
$(CURDIR)/debian/libsane1.udev
+       sed -i -e '/^# by sane-desc/d' $(CURDIR)/debian/libsane1.udev
        $(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m hwdb > 
$(CURDIR)/debian/20-sane.hwdb
+       sed -i -e '/^# by sane-desc/d' $(CURDIR)/debian/20-sane.hwdb
        cp $(CURDIR)/debian/20-sane.hwdb 
$(CURDIR)/debian/libsane1/lib/udev/hwdb.d/
        dh_installudev
 endif

Reply via email to