]> git.saurik.com Git - apt.git/commitdiff
prepare-release: declare the packages needed as source build deps.
authorSteve Langasek <steve.langasek@canonical.com>
Mon, 11 Jun 2012 22:36:02 +0000 (22:36 +0000)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 1 Dec 2013 15:08:58 +0000 (16:08 +0100)
prepare-release

index 2d8502d7f4734fe6fd4a7f69df82823521965286..a9cc49cfda4e93be7c3a0cf674d58988aff5bc0a 100755 (executable)
@@ -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"