Source: gunicorn
Version: 19.6.0-10
Severity: normal
Tags: patch

dpkg-maintscript-helper (dh_installdeb) is available via dpkg and support for
rm_conffile is available since 1.15.7.2. So the Pre-Depends should pull in dpkg,
not dpkg-dev. See [1] for all the details.

The attached patch changes the Pre-Depends to use ${misc:Pre-Depends}, which is
populated by dh_installdeb. Since dpkg 1.15.7.2 is older than oldstable,
${misc:Pre-Depends} will be empty.

[1] 
https://manpages.debian.org/unstable/dpkg/dpkg-maintscript-helper.1.en.html#INTEGRATION_IN_PACKAGES

Cheers
-- 
Sebastian Ramacher
diff -Nru gunicorn-19.6.0/debian/changelog gunicorn-19.6.0/debian/changelog
--- gunicorn-19.6.0/debian/changelog	2017-01-01 23:05:49.000000000 +0100
+++ gunicorn-19.6.0/debian/changelog	2017-02-02 21:09:51.000000000 +0100
@@ -1,3 +1,11 @@
+gunicorn (19.6.0-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control: Use ${misc:Pre-Depends} to populate Pre-Depends for
+    dpkg-maintscript-helper.
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Thu, 02 Feb 2017 21:09:51 +0100
+
 gunicorn (19.6.0-10) unstable; urgency=medium
 
   * Move debian/README.Debian → debian/NEWS.
diff -Nru gunicorn-19.6.0/debian/control gunicorn-19.6.0/debian/control
--- gunicorn-19.6.0/debian/control	2017-01-01 23:05:49.000000000 +0100
+++ gunicorn-19.6.0/debian/control	2017-02-02 21:09:51.000000000 +0100
@@ -19,7 +19,7 @@
 
 Package: gunicorn
 Architecture: all
-Pre-Depends: dpkg-dev (>= 1.15.7.2)
+Pre-Depends: ${misc:Pre-Depends}
 Depends:
  python-gunicorn (= ${binary:Version}),
  python-pkg-resources,
@@ -83,7 +83,7 @@
 
 Package: python-gunicorn
 Architecture: all
-Pre-Depends: dpkg-dev (>= 1.15.7.2)
+Pre-Depends: ${misc:Pre-Depends}
 Depends:
  python-pkg-resources,
  python-setuptools,
@@ -138,7 +138,7 @@
 
 Package: gunicorn-examples
 Architecture: all
-Pre-Depends: dpkg-dev (>= 1.15.7.2)
+Pre-Depends: ${misc:Pre-Depends}
 Depends:
  ${misc:Depends},
  ${python3:Depends},

Attachment: signature.asc
Description: PGP signature

Reply via email to