Package: kimwitu
Version: 4.6.1-7.1
Followup-For: Bug #829745
User: [email protected]
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.
- 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-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 kimwitu-4.6.1/debian/control kimwitu-4.6.1/debian/control
--- kimwitu-4.6.1/debian/control
+++ kimwitu-4.6.1/debian/control
@@ -3,11 +3,11 @@
Priority: optional
Maintainer: Michael Piefel <[email protected]>
Standards-Version: 3.7.0
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 9)
Package: kimwitu
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: c-compiler, kimwitu-doc
Suggests: bison | byacc | btyacc
Description: Compiler development tool, complementary to lex and yacc
diff -u kimwitu-4.6.1/debian/rules kimwitu-4.6.1/debian/rules
--- kimwitu-4.6.1/debian/rules
+++ kimwitu-4.6.1/debian/rules
@@ -1,8 +1,8 @@
#!/usr/bin/make -f
-export DH_COMPAT=5
-
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
build-stamp:
dh_testdir
@@ -28,7 +28,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
# Add here commands to install the package into debian/kimwitu.
only in patch2:
unchanged:
--- kimwitu-4.6.1.orig/debian/compat
+++ kimwitu-4.6.1/debian/compat
@@ -0,0 +1 @@
+9