[PATCH 06 of 11 cubicweb/debian] [pkg] Tidy substvars usage in control file

Jérémy Bobbio jeremy.bobbio at irq7.fr
Thu Jun 13 17:19:00 CEST 2019


# HG changeset patch
# User Jérémy Bobbio <jeremy.bobbio at irq7.fr>
# Date 1560437267 -7200
#      Thu Jun 13 16:47:47 2019 +0200
# Node ID 43434fa141d3b6e6c4b4adcde9ec76c87a00453a
# Parent  92e33a1c5ec8d3756f6df5c689593f524c762e25
[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.

diff -r 92e33a1c5ec8 -r 43434fa141d3 debian/changelog
--- 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 at irq7.fr>  Wed, 29 May 2019 16:06:20 +0200
 
diff -r 92e33a1c5ec8 -r 43434fa141d3 debian/control
--- 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.
@@ -177,6 +177,7 @@
 Depends:
  ${misc:Depends},
  ${sphinxdoc:Depends},
+Built-Using: ${sphinxdoc:Built-Using}
 Recommends:
  doc-base
 Description: documentation for the CubicWeb framework


More information about the cubicweb-devel mailing list