]> err.no Git - dpkg/commitdiff
Deprecate support of substvars in dpkg-source and dpkg-genchanges
authorRaphael Hertzog <hertzog@debian.org>
Sun, 27 Jan 2008 19:01:00 +0000 (20:01 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Sun, 27 Jan 2008 19:38:21 +0000 (20:38 +0100)
ChangeLog
README.feature-removal-schedule
scripts/dpkg-genchanges.pl
scripts/dpkg-source.pl

index 6d26526f0537ba1fa0b66c208e764f8406fd7800..4aa496c2f9a5676202a22afe304efe49021eb08e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-27  Raphael Hertzog  <hertzog@debian.org>
+
+       * README.feature-removal-schedule: Deprecate support of substvars
+       in dpkg-source and dpkg-genchanges.
+
 2008-01-27  Raphael Hertzog  <hertzog@debian.org>
 
        * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace has_new_libs(),
index c71e1c168c4724954f9b9d44626d0d58c8ac3c26..f3b6cfc93c935a0415dd46511e60ca48c980c048 100644 (file)
@@ -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.
index 3071d242cb39859d63827281de84f5a0b7e7c583..7dada21a531c568298764c76dbe9a44b56471101 100755 (executable)
@@ -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/) {
index 48f12bab66ef8ee635947cfe2053aaa6619f63e3..9cba941e6bd8db0fb9bc671285c8f12a3f4d1e6c 100755 (executable)
@@ -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$/) {