Selaa lähdekoodia

deb-substvars(5): list fields where substvars do not work

Raphael Hertzog 17 vuotta sitten
vanhempi
commit
77f7292128
2 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 2 0
      debian/changelog
  2. 5 0
      man/deb-substvars.5

+ 2 - 0
debian/changelog

@@ -33,6 +33,8 @@ dpkg (1.15.4) UNRELEASED; urgency=low
   * Fix dpkg's preinst in case /var/lib/dpkg/alternatives contains unexpected
     sub-directories. Closes: #535138
   * Upgrade Standards-Version to 3.8.2 (no changes).
+  * Update deb-substvars(5) to list fields that do not support substvars.
+    Closes: #535353
 
   [ Modestas Vainius ]
   * Provide a meaningful label for dpkg-gensymbols diff.

+ 5 - 0
man/deb-substvars.5

@@ -31,6 +31,11 @@ string
 .B $
 sign.
 
+While variable substitution is done on all control fields, some of those
+fields are used and needed during the build when the substitution did not
+yet occur. That's why you can't use variables in the \fBPackage\fP,
+\fBSource\fP and \fBArchitecture\fP fields.
+
 Variables can be set using the
 .B \-V
 common option. They can be also specified in the file