summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-04-30 22:11:03 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-04-30 22:11:03 +0200
commitf98d745e540224920b6926dcba4355b7e69b099b (patch)
tree5b5bdfbd0f461284c1edb8bd74c81aa8ff692d2f
parent57c64f1acca5b544b2f088097c7296649b7e122e (diff)
Fix filtering out libsane-dll
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules4
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 5c48515..94794c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,9 @@ sane-backends (1.0.32-1) UNRELEASED; urgency=medium
(Closes: #987837).
- Fix package doesn't purge cleanly (fix test with pathfind())
(Closes: #987805).
+ * Fix filtering out libsane-dll (Closes: #971592):
+ - Cherry-picked from 1.0.25-4.1+deb9u2 (Thanks to
+ Sylvain Beucler <beuc@beuc.net>).
-- Jörg Frings-Fürst <debian@jff.email> Tue, 16 Feb 2021 18:26:03 +0100
diff --git a/debian/rules b/debian/rules
index 1109e1f..d0e1664 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,6 +84,10 @@ override_dh_auto_install-arch:
override_dh_auto_install-indep:
dh_auto_install
+ # remove /usr/lib/sane/libsane.so.1 (libtool side-effect ?)
+ $(RM) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sane/libsane.so.1
+ # remove libsane-dll, same as regular libsane
+ $(RM) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sane/libsane-dll.*
override_dh_install-arch:
dh_install