From: Raphael Hertzog Date: Sun, 27 Jan 2008 19:01:00 +0000 (+0100) Subject: Deprecate support of substvars in dpkg-source and dpkg-genchanges X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dc99c562979d85148ab21a022fdaf6ce9010399;p=dpkg Deprecate support of substvars in dpkg-source and dpkg-genchanges --- diff --git a/ChangeLog b/ChangeLog index 6d26526f..4aa496c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-27 Raphael Hertzog + + * README.feature-removal-schedule: Deprecate support of substvars + in dpkg-source and dpkg-genchanges. + 2008-01-27 Raphael Hertzog * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace has_new_libs(), diff --git a/README.feature-removal-schedule b/README.feature-removal-schedule index c71e1c16..f3b6cfc9 100644 --- a/README.feature-removal-schedule +++ b/README.feature-removal-schedule @@ -63,3 +63,11 @@ Warning: none Why: This option has been superseded by -tudeb. +What: substvars support in dpkg-source and dpkg-genchanges +Status: deprecated +When: lenny+1 +Warning: program +Why: + substvars do not make sense during generation of .dsc and .changes files. + This also means that it won't be possible anymore to override the Format + field output by dpkg-genchanges. diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl index 3071d242..7dada21a 100755 --- a/scripts/dpkg-genchanges.pl +++ b/scripts/dpkg-genchanges.pl @@ -159,6 +159,7 @@ while (@ARGV) { $since= $POSTMATCH; } elsif (m/^-T/) { $varlistfile= $POSTMATCH; + warning(_g("substvars support is deprecated (see README.feature-removal-schedule)")); } elsif (m/^-m/) { $forcemaint= $POSTMATCH; } elsif (m/^-e/) { diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 48f12bab..9cba941e 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -253,6 +253,7 @@ while (@ARGV && $ARGV[0] =~ m/^-/) { $substvars->set($1, $POSTMATCH); } elsif (m/^-T/) { $varlistfile = $POSTMATCH; + warning(_g("substvars support is deprecated (see README.feature-removal-schedule)")); } elsif (m/^-(h|-help)$/) { &usage; exit(0); } elsif (m/^--version$/) {