Package: gmt-doc-ps
Version: 3.4.4-1
Followup-For: Bug #800214
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules:
    - Remove legacy DH_COMPAT export.
    - Replace dh_clean -k with dh_prep.
    - Add recommended build-arch and build-indep targets.
  * debian/compat: Indicate compatibilty level of 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Move debhelper build dependency to Build-Depends, as clean requires it.
    - Depend on ${misc:Depends}.

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.4.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u gmt-doc-ps-3.4.4/debian/control gmt-doc-ps-3.4.4/debian/control
--- gmt-doc-ps-3.4.4/debian/control
+++ gmt-doc-ps-3.4.4/debian/control
@@ -3,14 +3,16 @@
 Priority: extra
 Maintainer: Torsten Landschoff <tors...@debian.org>
-Build-Depends-Indep: debhelper (>= 2)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.0.1
 
 Package: gmt-doc-ps
 Architecture: all
+Depends: ${misc:Depends}
 Description: PostScript docs for the Generic Mapping Tools
  This package has the users guide of GMT in PostScript format.
 
 Package: gmt-tutorial-ps
 Architecture: all
+Depends: ${misc:Depends}
 Description: Tutorial for the Generic Mapping Tools (PostScript)
  This package contains the tutorial for GMT in PostScript format.
diff -u gmt-doc-ps-3.4.4/debian/rules gmt-doc-ps-3.4.4/debian/rules
--- gmt-doc-ps-3.4.4/debian/rules
+++ gmt-doc-ps-3.4.4/debian/rules
@@ -6,10 +6,9 @@
 #export DH_VERBOSE=1
 MANDIR:=$(shell pwd)/debian/tmp/usr/share/man/man1
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=2
-
-build:
+build: build-arch build-indep
+build-arch:
+build-indep:
 
 clean:
 	dh_testdir
@@ -22,7 +21,7 @@
 install-stamp:
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 	touch install-stamp
 
only in patch2:
unchanged:
--- gmt-doc-ps-3.4.4.orig/debian/compat
+++ gmt-doc-ps-3.4.4/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to