Package: clips-doc
Version: 6.24-2
Followup-For: Bug #817395
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/rules: Switch to dh sequencer.
* debian/compat: Bump to 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.
* debian/clips-doc.docs: Specify doc files.
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 clips-doc-6.24/debian/compat clips-doc-6.24/debian/compat
--- clips-doc-6.24/debian/compat
+++ clips-doc-6.24/debian/compat
@@ -1 +1 @@
-4
+9
diff -u clips-doc-6.24/debian/rules clips-doc-6.24/debian/rules
--- clips-doc-6.24/debian/rules
+++ clips-doc-6.24/debian/rules
@@ -2,41 +2,2 @@
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean
-build:
-# Nothing to do here
-
-install:
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-# Add here commands to install the package into debian/tmp.
-
-# Build architecture-independent files here.
-binary-indep: install
- dh_testdir
- dh_testroot
- dh_installdocs -i *.pdf
- dh_installchangelogs -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_shlibdeps -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
diff -u clips-doc-6.24/debian/control clips-doc-6.24/debian/control
--- clips-doc-6.24/debian/control
+++ clips-doc-6.24/debian/control
@@ -2,12 +2,13 @@
Section: doc
Priority: optional
Maintainer: Javier Fernandez-Sanguino Pen~a <[email protected]>
-Build-Depends: debhelper
+Build-Depends: debhelper (>= 9)
Standards-Version: 3.7.3
Homepage: http://clipsrules.sourceforge.net/
Package: clips-doc
Architecture: all
+Depends: ${misc:Depends}
Recommends: clips, gv | pdf-viewer
Description: "C" Language Integrated Production System Documentation
This package contains the documentation (users guide, interfaces guide...)
only in patch2:
unchanged:
--- clips-doc-6.24.orig/debian/clips-doc.docs
+++ clips-doc-6.24/debian/clips-doc.docs
@@ -0,0 +1 @@
+*.pdf