Package: le-dico-de-rene-cougnenc
Version: 1.3-2.1
Tags: patch
Followup-For: Bug #800206
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

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}.

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-7-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 le-dico-de-rene-cougnenc-1.3/debian/rules le-dico-de-rene-cougnenc-1.3/debian/rules
--- le-dico-de-rene-cougnenc-1.3/debian/rules
+++ le-dico-de-rene-cougnenc-1.3/debian/rules
@@ -5,9 +5,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
 package := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -1)
 
 build: build-stamp
@@ -30,7 +27,7 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs -A usr/share/man/fr/man1
 
 	$(MAKE) -C src install prefix=`pwd`/debian/${package}/usr
diff -u le-dico-de-rene-cougnenc-1.3/debian/control le-dico-de-rene-cougnenc-1.3/debian/control
--- le-dico-de-rene-cougnenc-1.3/debian/control
+++ le-dico-de-rene-cougnenc-1.3/debian/control
@@ -2,12 +2,12 @@
 Section: text
 Priority: optional
 Maintainer: Eric Madesclair <eri...@wanadoo.fr>
-Build-Depends: debhelper (>= 4.0.0), docbook-utils
+Build-Depends: debhelper (>= 9), docbook-utils
 Standards-Version: 3.6.1
 
 Package: le-dico-de-rene-cougnenc
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: the "Dico" by Rene Cougnenc
  Le-dico-de-rene-coungnec is a French dictionary. 
  This dictionary contains more than 100,000 words
only in patch2:
unchanged:
--- le-dico-de-rene-cougnenc-1.3.orig/debian/compat
+++ le-dico-de-rene-cougnenc-1.3/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to