+2008-01-12 Raphael hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Fields.pm, scripts/dpkg-source.pl: Add support of
+ Dm-Upload-Allowed field. It automatically ends up in the dsc.
+
2008-01-12 Raphael hertzog <hertzog@debian.org>
* scripts/Dpkg/Fields.pm: Define variables containing
* Also force version in ${binary:Version} if dpkg-gencontrol -v<version>
is used. That way we're consistent with the definition of that variable
in deb-substvars(5). Closes: #433477
+ * Add support of Dm-Upload-Allowed field. Closes: #453400
[ Updated manpages translations ]
* Fix typo in French. Closes: #460021
# Some variables (list of fields)
our %control_src_fields;
our %control_pkg_fields;
-$control_src_fields{$_} = 1 foreach (qw(Bugs
+$control_src_fields{$_} = 1 foreach (qw(Bugs Dm-Upload-Allowed
Homepage Origin Maintainer Priority Section Source Standards-Version
Uploaders Vcs-Browser Vcs-Arch Vcs-Bzr Vcs-Cvs Vcs-Darcs Vcs-Git Vcs-Hg
Vcs-Mtn Vcs-Svn));
textdomain("dpkg-dev");
my @dsc_fields = (qw(Format Source Binary Architecture Version Origin
- Maintainer Uploaders Homepage Standards-Version
- Vcs-Browser Vcs-Arch Vcs-Bzr Vcs-Cvs Vcs-Darcs
- Vcs-Git Vcs-Hg Vcs-Mtn Vcs-Svn),
+ Maintainer Uploaders Dm-Upload-Allowed Homepage
+ Standards-Version Vcs-Browser Vcs-Arch Vcs-Bzr
+ Vcs-Cvs Vcs-Darcs Vcs-Git Vcs-Hg Vcs-Mtn Vcs-Svn),
@src_dep_fields);
if (m/^Source$/i) {
set_source_package($v);
} elsif (m/^(Standards-Version|Origin|Maintainer|Homepage)$/i ||
+ m/^Dm-Upload-Allowed$/i ||
m/^Vcs-(Browser|Arch|Bzr|Cvs|Darcs|Git|Hg|Mtn|Svn)$/i) {
$fields->{$_} = $v;
} elsif (m/^Uploaders$/i) {