[pkg] Tidy substvars usage in control file
authorJérémy Bobbio <jeremy.bobbio@irq7.fr>
Thu, 13 Jun 2019 16:47:47 +0200
changeset 12646 ca06ce5eba38
parent 12645 4ed5a9e45d19
child 12647 cb596dca133f
[pkg] Tidy substvars usage in control file The documentation package was missing a Built-Using field to record the provenance of the templates. Empty packages or meta packages do not require Depends on a specific Python version, so we can remove the relevant substvars.
debian/changelog
debian/control
--- a/debian/changelog	Mon Jun 10 10:53:48 2019 +0200
+++ b/debian/changelog	Thu Jun 13 16:47:47 2019 +0200
@@ -5,6 +5,7 @@
   * Run test suite as part of autopkgtest.
   * Remove build dependency on obsolete dh-systemd.
   * Specify priority “optional” instead of the obsolete “extra”.
+  * Tidy substvars usage in control file.
 
  -- Jérémy Bobbio <jeremy.bobbio@irq7.fr>  Wed, 29 May 2019 16:06:20 +0200
 
--- a/debian/control	Mon Jun 10 10:53:48 2019 +0200
+++ b/debian/control	Thu Jun 13 16:47:47 2019 +0200
@@ -124,7 +124,7 @@
 Provides: cubicweb-postgresql-support
 Depends:
  ${misc:Depends},
- ${python3:Depends},
+ python3-cubicweb (= ${source:Version}),
  python3-psycopg2,
  postgresql-client
 Description: postgres support for the CubicWeb framework
@@ -137,6 +137,7 @@
 Package: python3-cubicweb-pyramid
 Architecture: all
 Depends:
+ ${misc:Depends},
  python3-cubicweb (= ${source:Version}),
  python3-pyramid (>= 1.5.0),
  python3-pyramid-multiauth,
@@ -158,7 +159,6 @@
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python3:Depends},
  python3-cubicweb (= ${source:Version})
 Description: tool to manage the CubicWeb framework
  CubicWeb is a semantic web application framework.
@@ -178,6 +178,7 @@
 Depends:
  ${misc:Depends},
  ${sphinxdoc:Depends},
+Built-Using: ${sphinxdoc:Built-Using}
 Recommends:
  doc-base
 Description: documentation for the CubicWeb framework