This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e8c48a3965fe83b4f89c73cf60009e745000fec5 commit e8c48a3965fe83b4f89c73cf60009e745000fec5 Author: Guillem Jover <[email protected]> AuthorDate: Thu Nov 7 00:01:46 2019 +0100 dpkg-source: Remove backwards compatibility code for legacy build-profiles --- debian/changelog | 1 + scripts/dpkg-source.pl | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index d28e3257a..c5bad0b90 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium * dpkg: Fix and clarify behavior for packages marked to be on “hold”. These need to be processed for configuration and triggers. Closes: #926472 * dpkg: Use DPKG_ADMINDIR to set the admindir. Closes: #900071 + * dpkg-source: Remove backwards compatibility code for legacy build-profiles. * Perl modules: - Dpkg::Source::Package: Verify original tarball signatures at build time. - Dpkg::BuildFlags: Add new unset() method. diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 32dc1c930..17f916600 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -306,13 +306,6 @@ if ($options{opmode} =~ /^(build|print-format|(before|after)-build|commit)$/) { $pkg_summary .= ' arch=' . join ',', split ' ', $arch; if (defined $profile) { - # If the string does not contain brackets then it is using the - # old syntax. Emit a fatal error. - if ($profile !~ m/^\s*<.*>\s*$/) { - error(g_('binary package stanza %s is using an obsolete ' . - 'Build-Profiles field syntax'), $p); - } - # Instead of splitting twice and then joining twice, we just do # simple string replacements: -- Dpkg.Org's dpkg

