Package: debaux
Version: 0.1.10-1.1
Followup-For: Bug #800283
User: [email protected]
Usertags: origin-ubuntu xenial ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* debian/rules:
- Remove legacy DH_COMPAT export.
- Use dh_prep instead of deprecated dh_clean -k.
* debian/compat: Specify compatibility level of 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends} for all binaries.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-19-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u debaux-0.1.10/debian/rules debaux-0.1.10/debian/rules
--- debaux-0.1.10/debian/rules
+++ debaux-0.1.10/debian/rules
@@ -20,9 +20,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatability version to use.
-export DH_COMPAT=2
-
# This has to be exported to make some magic below work.
export DH_OPTIONS
@@ -62,7 +59,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
# Add here commands to install the package into debian/tmp.
only in patch2:
unchanged:
--- debaux-0.1.10.orig/debian/compat
+++ debaux-0.1.10/debian/compat
@@ -0,0 +1 @@
+9
only in patch2:
unchanged:
--- debaux-0.1.10.orig/debian/control
+++ debaux-0.1.10/debian/control
@@ -3,11 +3,11 @@
Priority: optional
Maintainer: Stefan Hornburg (Racke) <[email protected]>
Standards-Version: 3.5.6.0
-Build-Depends: debhelper
+Build-Depends: debhelper (>= 9)
Package: debaux
Architecture: all
-Depends: ${perl:Depends}, libappconfig-perl, libnet-ssh-perl, libtimedate-perl, libwww-perl, dpkg-dev, rsync
+Depends: ${misc:Depends}, ${perl:Depends}, libappconfig-perl, libnet-ssh-perl, libtimedate-perl, libwww-perl, dpkg-dev, rsync
Suggests: dh-make
Description: Debian Auxiliary Programs
This package contains Perl programs and modules to build
@@ -31,7 +31,7 @@
Package: debaux-debconf
Architecture: all
-Depends: ${perl:Depends}, debconf | debconf-2.0
+Depends: ${misc:Depends}, ${perl:Depends}, debconf | debconf-2.0
Description: Perl Interface to Debconf
This package contains the DebAux::Debconf module, which
provides an easy-to-use interface for some of the