Package: jbofihe
Version: 0.38-5.1
Followup-For: Bug #800254
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 dh_clean -k.
    - Only run $(MAKE) clean if Makefile exists.
  * 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-17-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 jbofihe-0.38/debian/control jbofihe-0.38/debian/control
--- jbofihe-0.38/debian/control
+++ jbofihe-0.38/debian/control
@@ -2,12 +2,12 @@
 Section: misc
 Priority: optional
 Maintainer: Theodore Reed <tr...@surreality.us>
-Build-Depends: debhelper (>> 3.0.0), lojban-common (>= 1.4), flex, bison
+Build-Depends: debhelper (>= 9), lojban-common (>= 1.4), flex, bison
 Standards-Version: 3.6.1
 
 Package: jbofihe
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: A parser for the lojban language
  jbofihe is a command-line driven program with the following functions:
  .
diff -u jbofihe-0.38/debian/rules jbofihe-0.38/debian/rules
--- jbofihe-0.38/debian/rules
+++ jbofihe-0.38/debian/rules
@@ -3,9 +3,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -39,7 +36,7 @@
 	rm -f build-stamp configure-stamp
 	rm -rf bin
 
-	-$(MAKE) clean
+	[ ! -f Makefile ] || $(MAKE) clean
 	rm -rf Makefile smujmaji.dat lujvo.txt NORALUJV.txt n2d
 
 	dh_clean
@@ -48,7 +45,7 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	PATH=`pwd`/bin:$$PATH \
only in patch2:
unchanged:
--- jbofihe-0.38.orig/debian/compat
+++ jbofihe-0.38/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to