]> 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)
committerSteve Langasek <steve.langasek@canonical.com>
Mon, 11 Jun 2012 22:36:02 +0000 (22:36 +0000)
debian/changelog
prepare-release

index e1b855a895295edfd75bfb31e19da18d8f1da38d..645d50a1ee8f60ca5fc6e932bd976fdf547631b8 100644 (file)
@@ -15,6 +15,7 @@ apt (0.9.6ubuntu1) UNRELEASED; urgency=low
   [ Steve Langasek ]
   * Drop upgrade handling for obsolete conffile /etc/apt/apt.conf.d/01ubuntu,
     removed in previous LTS.
+  * prepare-release: declare the packages needed as source build deps.
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 22 May 2012 15:57:26 +0200
 
index 73c0be602bd337fc766a186181028cdb23d7eab0..8cf4ccaceff6518baad8092da1da14a5d08eba79 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"