Browse Source

prepare-release: declare the packages needed as source build deps.

debian/1.8.y
Steve Langasek 10 years ago
committed by David Kalnischkies
parent
commit
fb83d0ccdd
  1. 4
      prepare-release

4
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"

Loading…
Cancel
Save