From 25e11a6b4bf11e5ffa364a0e2961ae89289f4611 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 17 Mar 2021 17:21:11 +0100 Subject: Streamline or-group closing after other arch-specific package The comment and code are a bit too roundabout about what they actually try to do, so lets just set that straight as this is really just about a very specific case and doesn't deserve a general resetting. Gbp-Dch: Ignore --- apt-pkg/deb/debsrcrecords.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'apt-pkg') diff --git a/apt-pkg/deb/debsrcrecords.cc b/apt-pkg/deb/debsrcrecords.cc index 0b6cf1ff0..0a1f91f22 100644 --- a/apt-pkg/deb/debsrcrecords.cc +++ b/apt-pkg/deb/debsrcrecords.cc @@ -135,13 +135,9 @@ bool debSrcRecordParser::BuildDepends(std::vector Date: Wed, 17 Mar 2021 19:31:55 +0100 Subject: Allow superfluous commas in build-dependency lines This code can interact with handwritten files who can have unneeded commas for writing easy. As dpkg allows it, we should do as well. Reported-By: Arnaud Ferraris References: https://lists.debian.org/debian-devel/2021/03/msg00101.html --- apt-pkg/deb/debsrcrecords.cc | 11 ++++++++--- test/integration/test-apt-get-build-dep-file | 3 ++- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'apt-pkg') diff --git a/apt-pkg/deb/debsrcrecords.cc b/apt-pkg/deb/debsrcrecords.cc index 0a1f91f22..89f3f1667 100644 --- a/apt-pkg/deb/debsrcrecords.cc +++ b/apt-pkg/deb/debsrcrecords.cc @@ -123,6 +123,14 @@ bool debSrcRecordParser::BuildDepends(std::vector -Build-Depends: debhelper (>= 7) +Build-Depends: ,debhelper (>= 7), +Build-Conflicts: ,,, Build-Depends-Indep: X-Python3-Version: >= 3.2 Standards-Version: 3.9.3 -- cgit v1.2.3-70-g09d2