Package: x-pgp-sig-el
Version: 1.3.5.1-4.1
Followup-For: Bug #800218
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.
    - Add recommended build-arch and build-indep targets.
    - Use dh_prep instead of dh_clean -k.
  * debian/compat: Indicate 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 x-pgp-sig-el-1.3.5.1/debian/control x-pgp-sig-el-1.3.5.1/debian/control
--- x-pgp-sig-el-1.3.5.1/debian/control
+++ x-pgp-sig-el-1.3.5.1/debian/control
@@ -2,12 +2,12 @@
 Section: contrib/mail
 Priority: optional
 Maintainer: Takuo KITAME <kit...@northeye.org>
-Build-Depends: debhelper (>> 2)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.5.2
 
 Package: x-pgp-sig-el
 Architecture: all
-Depends: emacsen, pgp
+Depends: ${misc:Depends}, emacsen, pgp
 Description: X-PGP-Sig mail and news header utility for Emacs
  X-PGP-Sig header utility for Emacs.
  It can insert/verify PGP signatures in the X-PGP-Sig: mail/news header.
diff -u x-pgp-sig-el-1.3.5.1/debian/rules x-pgp-sig-el-1.3.5.1/debian/rules
--- x-pgp-sig-el-1.3.5.1/debian/rules
+++ x-pgp-sig-el-1.3.5.1/debian/rules
@@ -6,12 +6,13 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-export DH_COMPAT=3
 
 package=x-pgp-sig-el
 pwd=$(shell pwd)
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 	touch build-stamp
@@ -25,7 +26,7 @@
 install:
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	cp *.el debian/${package}/usr/share/emacs/site-lisp/x-pgp-sig-el/
only in patch2:
unchanged:
--- x-pgp-sig-el-1.3.5.1.orig/debian/compat
+++ x-pgp-sig-el-1.3.5.1/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to