summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xscripts/dpkg-source.pl7
2 files changed, 1 insertions, 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: