summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-25 13:57:17 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-25 13:57:17 +0200
commit9bd8e4943dafed33a1d04ccc3df3005e98f3ead3 (patch)
treec36d288b73eb32f099deb04fbb5deeb13f28791e /debian/rules
parent0938037e9cf80cac14174fb6a5b03316db624dd9 (diff)
New libsane.symbols, fix piupart error, remove v4ldepents
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 5534a6a..e2221ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -137,6 +137,7 @@ override_dh_systemd_enable:
override_dh_strip:
dh_strip --dbg-package=libsane-dbg
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n '/\(Version:\)/{s/^Version:[[:space:]]\+\([0-9]\+:\)\?\(.*\)/\2/p}' | rev | cut -d- -f 2- | rev)
+
override_dh_makeshlibs:
- dpkg-gensymbols -v$(VERSION) -plibsane
- dh_makeshlibs
+ dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION) -Pdebian/libsane -plibsane