diff --git a/debian/changelog b/debian/changelog index 81b8f55..44de953 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ commit-patch (2.6-1) unstable; urgency=medium * Upgrade to debhelper 10 + * Comply with debian-emacs-policy + -- David Caldwell Wed, 13 Feb 2019 23:20:24 -0800 commit-patch (2.5-1) unstable; urgency=low diff --git a/debian/control b/debian/control index 04d27c5..b87b220 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Vcs-Git: https://github.com/caldwell/commit-patch.git -b debian Package: commit-patch Architecture: all -Depends: ${misc:Depends}, ${perl:Depends}, libipc-run-perl, patch, patchutils +Depends: ${misc:Depends}, ${perl:Depends}, libipc-run-perl, patch, patchutils, emacsen-common (>= 2.0.8) Suggests: darcs | git | mercurial | bzr | monotone | subversion | cvs Description: utility to commit fine grained patches to source code control repositories Normally version control systems don't allow fine grained diff --git a/debian/rules b/debian/rules index a1cd8d9..ef446e7 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,9 @@ override_dh_auto_install: rm debian/commit-patch/usr/share/doc/commit-patch/COPYING # Installed by dh_installchangelogs: rm debian/commit-patch/usr/share/doc/commit-patch/Changes + # To comply with https://www.debian.org/doc/packaging-manuals/debian-emacs-policy + mkdir -p debian/commit-patch/usr/lib/emacsen-common/packages/compat + echo 0 > debian/commit-patch/usr/lib/emacsen-common/packages/compat/commit-patch # Skip tests. They aren't mature enough to offer any benefit during packaging. override_dh_auto_test: