Package: dpkg-dev-el Version: 36.3+nmu1 Severity: normal Tags: patch The list of valid source package field names in the variable debian-control-source-fields is not up to date. Consulting deb-src-control(1) the following fields are missing: Build-Depends-Arch, Build-Conflicts-Arch, Origin, Bugs and (my new favorite in dpkg 1.19.0) Rules-Requires-Root. See the attached patch which also removes the DM-Upload-Allowed field that has been unsupported since dpkg 1.17.0.
-- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 4.14.2-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dpkg-dev-el depends on: ii debian-el 36.3+nmu1local1 ii emacs 47.0 ii emacs-snapshot [emacsen] 1:20171117-1 ii emacs25 [emacsen] 25.2+1-6 ii emacsen-common 2.0.8 Versions of packages dpkg-dev-el recommends: ii wget 1.19.2-1 Versions of packages dpkg-dev-el suggests: ii dpkg-dev 1.19.0.4 -- no debconf information
diff -Nru emacs-goodies-el-36.3+nmu1/elisp/dpkg-dev-el/debian-control-mode.el emacs-goodies-el-36.3+nmu1local1/elisp/dpkg-dev-el/debian-control-mode.el --- emacs-goodies-el-36.3+nmu1/elisp/dpkg-dev-el/debian-control-mode.el 2017-01-28 03:14:24.000000000 +0100 +++ emacs-goodies-el-36.3+nmu1local1/elisp/dpkg-dev-el/debian-control-mode.el 2017-10-17 12:52:48.000000000 +0200 @@ -181,8 +181,9 @@ (defvar debian-control-source-fields (append '("Section" "Priority" "Maintainer" "Build-Depends" "Build-Depends-Indep" - "Build-Conflicts" "Build-Conflicts-Indep" "Standards-Version" "Uploaders" - "DM-Upload-Allowed" "Homepage" "Vcs-Browser" "XS-Python-Version") + "Build-Depends-Arch" "Build-Conflicts" "Build-Conflicts-Indep" + "Build-Conflicts-Arch" "Standards-Version" "Uploaders" "Origin" "Bugs" + "Homepage" "Vcs-Browser" "Rules-Requires-Root" "XS-Python-Version") (mapcar (lambda (elt) (concat "Vcs-" elt)) debian-control-vcs-names)) "Valid source package field names, collected from several policy sections.")