Package: recite
Version: 1.0-8.2
Followup-For: Bug #800225
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/compat: Change compatibility level to 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Depend on ${misc:Depends}.
  * debian/rules:
    - Use dh_prep instead of dh_clean -k.
    - Add recommended build-arch and build-indep targets.

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 recite-1.0/debian/control recite-1.0/debian/control
--- recite-1.0/debian/control
+++ recite-1.0/debian/control
@@ -3,11 +3,11 @@
 Section: sound
 Priority: optional
 Standards-Version: 3.8.0
-Build-Depends: debhelper (>= 3.0)
+Build-Depends: debhelper (>= 9)
 
 Package: recite
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: English text speech synthesizer
  Recite is a program to do speech synthesis.  The quality of sound
  produced is not terribly good, but it should be adequate for reporting
diff -u recite-1.0/debian/compat recite-1.0/debian/compat
--- recite-1.0/debian/compat
+++ recite-1.0/debian/compat
@@ -1 +1 @@
-3
+9
diff -u recite-1.0/debian/rules recite-1.0/debian/rules
--- recite-1.0/debian/rules
+++ recite-1.0/debian/rules
@@ -4,7 +4,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 
@@ -24,7 +26,7 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	cp bin/recite debian/recite/usr/bin/

Reply via email to