[Build-common-hackers] Bug#294537: cdbs: Please "s/Build-Depends-Indep: , /Build-Depends-Indep: /" in debian/control

Andreas Jochens Andreas Jochens <aj@andaco.de>, 294537@bugs.debian.org
Thu, 10 Feb 2005 09:41:14 +0100


Package: cdbs
Severity: normal
Tags: patch

The Build-Depends-Indep in debian/control have a leading ','.
This seems wrong and it may confuse autobuilders when creating 
a proper chroot environment.

Please consider the attached patch which fixes this problem.

Regards
Andreas Jochens

diff -urN ../tmp-orig/cdbs-0.4.26/1/rules/buildcore.mk.in ./1/rules/buildcore.mk.in
--- ../tmp-orig/cdbs-0.4.26/1/rules/buildcore.mk.in	2005-02-09 15:20:27.000000000 +0100
+++ ./1/rules/buildcore.mk.in	2005-02-10 08:42:55.206533876 +0100
@@ -203,6 +203,7 @@
 ifneq ($(DEB_AUTO_UPDATE_DEBIAN_CONTROL),)
 	sed \
 		-e "s/@cdbs@/$(CDBS_BUILD_DEPENDS)/g" \
+		-e "s/Build-Depends-Indep: , /Build-Depends-Indep: /" \
 		-e "s/^Cpu: .*/Architecture: $(control_arch)/g" \
 		-e "/^System: /d" \
 		\
diff -urN ../tmp-orig/cdbs-0.4.26/debian/control ./debian/control
--- ../tmp-orig/cdbs-0.4.26/debian/control	2005-02-09 15:20:33.000000000 +0100
+++ ./debian/control	2005-02-10 08:43:31.053523387 +0100
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: CDBS Hackers <build-common-hackers@lists.alioth.debian.org>
-Build-Depends-Indep: , autotools-dev, type-handling (>= 0.2.5), debhelper (>= 4.1.0), docbook-xsl, xsltproc, springgraph, ocaml-native-compilers | ocaml, realpath, fakeroot, python-dev
+Build-Depends-Indep: autotools-dev, type-handling (>= 0.2.5), debhelper (>= 4.1.0), docbook-xsl, xsltproc, springgraph, ocaml-native-compilers | ocaml, realpath, fakeroot, python-dev
 Build-Conflicts-Indep: autoconf (<< 2.54)
 Uploaders: Colin Walters <walters@debian.org>, Jeff Bailey <jbailey@raspberryginger.com>, Jonas Smedegaard <dr@jones.dk>, Chris Cheney <ccheney@debian.org>, Stefan Gybas <sgybas@debian.org>, Robert Millan <rmh@debian.org>
 Standards-Version: 3.5.10