[med-svn] [staden-io-lib] 01/02: Test for correct ABI version
Andreas Tille
tille at debian.org
Mon Sep 25 13:12:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository staden-io-lib.
commit 8e0327e7cd803efa0fe1216d8a0ff5d7c67233f3
Author: Andreas Tille <tille at debian.org>
Date: Mon Sep 25 15:02:34 2017 +0200
Test for correct ABI version
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 4793f17..569ffbd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,3 +52,11 @@ override_dh_fixperms-indep:
override_dh_auto_clean:
dh_auto_clean
rm -f tests/.done tests/data/ce\#sorted.sam tests/data/ce\#unsorted.sam
+ # verify correct ABI version right in the beginning
+ # strangely enough d-shlibmove fails in detecting it in this package
+ UPSTREAMABI=`grep ^VERS_CURRENT configure.in | sed 's/^VERS_CURRENT[[:space:]]*=\([0-9]\+\)[[:space:]]*/\1/'` ; \
+ DEBABI=`grep '^Package: libstaden-read[0-9]\+' debian/control | sed 's/Package: libstaden-read\([0-9]\+\)/\1/'` ; \
+ if [ $${UPSTREAMABI} -ne $${DEBABI} ] ; then \
+ echo "Upstream has bumped ABI to $${UPSTREAMABI} but Debian is using libstaden-read$${DEBABI} (see bug #710225)" ; \
+ exit 1 ; \
+ fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/staden-io-lib.git
More information about the debian-med-commit
mailing list