Package: haskell98-tutorial
Version: 200006-2-1.1
Followup-For: Bug #817491
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/compat: Bump to 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.
* debian/rules:
- Add recommended build-arch and build-indep targets.
- Use dh_prep instead of dh_clean -k.
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 haskell98-tutorial-200006-2/debian/rules haskell98-tutorial-200006-2/debian/rules
--- haskell98-tutorial-200006-2/debian/rules
+++ haskell98-tutorial-200006-2/debian/rules
@@ -11,7 +11,9 @@
HTMLDIR=$(DOCDIR)/html
CODEDIR=$(HTMLDIR)/code
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
build-stamp:
dh_testdir
@@ -38,7 +40,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
mkdir -p $(HTMLDIR)
diff -u haskell98-tutorial-200006-2/debian/control haskell98-tutorial-200006-2/debian/control
--- haskell98-tutorial-200006-2/debian/control
+++ haskell98-tutorial-200006-2/debian/control
@@ -3,10 +3,11 @@
Section: doc
Priority: optional
Standards-Version: 3.7.2
-Build-Depends: hugs, flex, debhelper (>= 4), texlive-latex-base, texlive-generic-recommended
+Build-Depends: hugs, flex, debhelper (>= 9), texlive-latex-base, texlive-generic-recommended
Package: haskell98-tutorial
Architecture: all
+Depends: ${misc:Depends}
Recommends: haskell98-report
Suggests: lynx | www-browser
Conflicts: haskell-doc (<= 19991028-3)
diff -u haskell98-tutorial-200006-2/debian/compat haskell98-tutorial-200006-2/debian/compat
--- haskell98-tutorial-200006-2/debian/compat
+++ haskell98-tutorial-200006-2/debian/compat
@@ -1 +1 @@
-4
+9