Package: wordplay
Version: 7.22-17
Followup-For: Bug #800219
User: [email protected]
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.
- Replace dh_clean -k with dh_prep.
- Add recommended build-arch and build-indep targets.
* 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)
Kernel: Linux 4.4.0-18-generic (SMP w/2 CPU cores)
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 wordplay-7.22/debian/control wordplay-7.22/debian/control
--- wordplay-7.22/debian/control
+++ wordplay-7.22/debian/control
@@ -1,13 +1,13 @@
Source: wordplay
Section: games
Priority: optional
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>= 9)
Maintainer: Pawel Wiecek <[email protected]>
Standards-Version: 3.6.2
Package: wordplay
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
Description: anagram generator
Wordplay generates anagrams of words or phrases. For example,
"Debian GNU/Linux" = "laud benign unix", "nubian lug index",
diff -u wordplay-7.22/debian/rules wordplay-7.22/debian/rules
--- wordplay-7.22/debian/rules
+++ wordplay-7.22/debian/rules
@@ -2,10 +2,9 @@
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
-# Uncomment this to turn on verbose mode.
-export DH_COMPAT=3
-
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
build-stamp:
dh_testdir
$(MAKE)
@@ -26,7 +25,7 @@
binary-arch: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
install -s wordplay debian/wordplay/usr/bin
install -m 644 words721.txt debian/wordplay/usr/share/games/wordplay
only in patch2:
unchanged:
--- wordplay-7.22.orig/debian/compat
+++ wordplay-7.22/debian/compat
@@ -0,0 +1 @@
+9