debian/{compat,control}: increase debhelper compatibility version to 12
authorAntonio Ospite <ao2@ao2.it>
Sat, 7 Sep 2019 20:20:11 +0000 (22:20 +0200)
committerAntonio Ospite <ao2@ao2.it>
Sat, 7 Sep 2019 21:31:08 +0000 (23:31 +0200)
Increase debhelper compatibility version to 12 as pointed out by
lintian:

P: tweeper source: package-uses-old-debhelper-compat-version 11

Also depend on debhelper-compat instead of debhelper and drop the
debian/compat file, as suggested by the following cme warnings:

-----------------------------------------------------------------------
Warning in 'control source Build-Depends:0': compat parameter is deprecated. Please use debhelper-compat dependency. See debhelper(7) for details.
Offending value: 'debhelper (= 12)'
Warning in 'control source Build-Depends:0': debhelper dependency is deprecated. It should be a dependency for debhelper-compat package
Offending value: 'debhelper (= 12)'
-----------------------------------------------------------------------

debian/compat [deleted file]
debian/control

diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index b4de394..0000000
+++ /dev/null
@@ -1 +0,0 @@
-11
index 07d7729..43c175e 100644 (file)
@@ -2,7 +2,7 @@ Source: tweeper
 Section: php
 Priority: optional
 Maintainer: Antonio Ospite <ao2@ao2.it>
-Build-Depends: debhelper (>= 11), pkg-php-tools (>= 1.7~)
+Build-Depends: debhelper-compat (= 12), pkg-php-tools (>= 1.7~)
 Build-Depends-Indep: asciidoc, xmlto
 Standards-Version: 4.2.1
 Homepage: https://git.ao2.it/tweeper.git