[Pkg-bitcoin-commits] [libunivalue] 05/06: Relax symbols check on experimental builds. Tighten build-dependency on dpkg-dev.
Jonas Smedegaard
dr at jones.dk
Mon Apr 18 09:51:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libunivalue.
commit aaa1050306d1b2bffad8534d32febb082518f284
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Apr 18 11:42:05 2016 +0200
Relax symbols check on experimental builds. Tighten build-dependency on dpkg-dev.
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 3b27655..68da7db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,11 +45,19 @@ pkg-dev = lib$(stem)-dev
# TODO: Drop when adopted in cdbs
CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
+# resolve if release is experimental
+CDBS_BUILD_DEPENDS +=, dpkg-dev (>= 1.17.0)
+EXP_RELEASE = $(filter experimental% UNRELEASED,\
+ $(shell dpkg-parsechangelog -S Distribution))
+
DEB_CONFIGURE_EXTRA_FLAGS += \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_MAKE_CHECK_TARGET = check
+# relax symbols check when targeting experimental
+export DPKG_GENSYMBOLS_CHECK_LEVEL=$(if $(EXP_RELEASE),0)
+
# Let d-shlibs calculate development package dependencies
# and handle shared library install
CDBS_BUILD_DEPENDS +=, d-shlibs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git
More information about the Pkg-bitcoin-commits
mailing list