The following commit has been merged in the master branch:
commit 4dc99c562979d85148ab21a022fdaf6ce9010399
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Sun Jan 27 20:01:00 2008 +0100

    Deprecate support of substvars in dpkg-source and dpkg-genchanges

diff --git a/ChangeLog b/ChangeLog
index 6d26526..4aa496c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-01-27  Raphael Hertzog  <[EMAIL PROTECTED]>
 
+       * README.feature-removal-schedule: Deprecate support of substvars
+       in dpkg-source and dpkg-genchanges.
+
+2008-01-27  Raphael Hertzog  <[EMAIL PROTECTED]>
+
        * scripts/Dpkg/Shlibs/SymbolFile.pm: Replace has_new_libs(),
        has_lost_libs(), has_new_symbols() and has_lost_symbols() by
        corresponding get_* functions.
diff --git a/README.feature-removal-schedule b/README.feature-removal-schedule
index c71e1c1..f3b6cfc 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 3071d24..7dada21 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 48f12ba..9cba941 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$/) {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to