From fb83d0ccdda584a5aa9a93d87c6c71a03bc24ed4 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 11 Jun 2012 22:36:02 +0000 Subject: [PATCH] prepare-release: declare the packages needed as source build deps. --- prepare-release | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prepare-release b/prepare-release index 2d8502d7..a9cc49cf 100755 --- a/prepare-release +++ b/prepare-release @@ -1,11 +1,15 @@ #!/bin/sh +set -e + VERSION=$(dpkg-parsechangelog | sed -n -e '/^Version:/s/^Version: //p') DISTRIBUTION=$(dpkg-parsechangelog | sed -n -e '/^Distribution:/s/^Distribution: //p') LIBAPTPKGVERSION="$(awk -v ORS='.' '/^\#define APT_PKG_M/ {print $3}' apt-pkg/init.h | sed 's/\.$//')" LIBAPTINSTVERSION="$(egrep '^MAJOR=' apt-inst/makefile |cut -d '=' -f 2)" +dpkg-checkbuilddeps -d 'libxml2-utils' + if [ "$1" = 'pre-export' ]; then libraryversioncheck() { local LIBRARY="$1" -- 2.20.1