[pkg] Tidy substvars usage in control file 3.26
authorJérémy Bobbio <jeremy.bobbio@irq7.fr>
Thu, 13 Jun 2019 16:47:47 +0200
branch3.26
changeset 12701 d8c491c1e580
parent 12700 da655642db17
child 12702 8ccf035f2ca3
[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
@@ -6,6 +6,7 @@
   [ Jérémy Bobbio ]
   * Switch to Debian source format 3.0 (quilt).
   * Specify priority “optional” instead of the obsolete “extra”.
+  * Tidy substvars usage in control file.
 
  -- Denis Laxalde <denis.laxalde@logilab.fr>  Fri, 12 Jul 2019 11:54:09 +0200
 
--- a/debian/control	Mon Jun 10 10:53:48 2019 +0200
+++ b/debian/control	Thu Jun 13 16:47:47 2019 +0200
@@ -166,7 +166,7 @@
 Provides: cubicweb-postgresql-support
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ python-cubicweb (= ${source:Version}),
  python-psycopg2,
  postgresql-client
 Description: postgres support for the CubicWeb framework (Python 2)
@@ -182,7 +182,7 @@
 # postgresql-client packages for backup/restore of non local database
 Depends:
  ${misc:Depends},
- ${python3:Depends},
+ python3-cubicweb (= ${source:Version}),
  python3-psycopg2,
  postgresql-client
 Description: postgres support for the CubicWeb framework (Python 3)
@@ -249,7 +249,6 @@
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
  python-cubicweb (= ${source:Version})
 Conflicts:
  cubicweb-ctl3,
@@ -264,7 +263,6 @@
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python3:Depends},
  python3-cubicweb (= ${source:Version})
 Conflicts:
  cubicweb-ctl,
@@ -284,6 +282,7 @@
 Depends:
  ${misc:Depends},
  ${sphinxdoc:Depends},
+Built-Using: ${sphinxdoc:Built-Using}
 Recommends:
  doc-base
 Description: documentation for the CubicWeb framework