Package: dpkg-dev
Version: 1.13.25
Severity: wishlist
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hoi :)

I have a set of packages (*qalc*) which consists of several upstream tarballs
and is organized in several debian source packages.  There is one core package
containing a shared library (libqalculate) which is needed to build all other
packages.

The non-library source packages need a matching version of the library package
in order to build.  All upstream packages have one common versioning scheme and
I would like to use ${source:Upstream-Version} in the Build-Depends line.

The following patch seems to work:

- --- /usr/bin/dpkg-checkbuilddeps.orig   2007-01-07 21:50:27.000000000 +0100
+++ /usr/bin/dpkg-checkbuilddeps        2007-01-07 22:00:15.000000000 +0100
@@ -37,7 +37,11 @@

 my $control=shift || "debian/control";
 $controlfile=$control;
+$changelogfile = "debian/changelog";

+&findarch;
+&parsechangelog;
+&parsesubstvars;
 &parsecontrolfile;
 my @status=parse_status();
 my (@unmet, @conflicts);


Thanks for your help!

- -- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), 
(1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages dpkg-dev depends on:
ii  binutils                      2.17-3     The GNU assembler, linker and bina
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  dpkg                          1.13.25    package maintenance system for Deb
ii  make                          3.81-3     The GNU version of the "make" util
ii  patch                         2.5.9-4    Apply a diff file to an original
ii  perl [perl5]                  5.8.8-7    Larry Wall's Practical Extraction 
ii  perl-modules                  5.8.8-7    Core Perl modules

Versions of packages dpkg-dev recommends:
ii  bzip2                         1.0.3-6    high-quality block-sorting file co
ii  gcc [c-compiler]              4:4.1.1-15 The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.3-7    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-21   The GNU C compiler

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFoWEej/Eaxd/oD7IRAiVUAJ9OBV3n8yTPkKkDtuMtLTAv7kNTcQCcDbMy
7NxcsI0J4Cx2Ntq1CLGjd9A=
=ep99
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to