diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-03-19 14:06:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-03-19 14:06:51 +0000 |
commit | 1fce8684a10fd08fb4d6bf71294c5516fb3c5c7a (patch) | |
tree | 2d2c07c7bc250a186590f1be15690a9609ec8b7c | |
parent | Sorting dh arguments in rules. (diff) | |
download | gitlint-1fce8684a10fd08fb4d6bf71294c5516fb3c5c7a.tar.xz gitlint-1fce8684a10fd08fb4d6bf71294c5516fb3c5c7a.zip |
Using execute_after targets in rules to be explicit what we're doing.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/control | 3 | ||||
-rwxr-xr-x | debian/rules | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/debian/control b/debian/control index 32db327..26c49bf 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: gitlint Section: utils Priority: optional Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> -Build-Depends: debhelper-compat (= 12), +Build-Depends: debhelper (>= 12.8~), + debhelper-compat (= 12), dh-python, git, pylint, diff --git a/debian/rules b/debian/rules index 3c40bc7..8ba7386 100755 --- a/debian/rules +++ b/debian/rules @@ -9,8 +9,9 @@ export PYBUILD_TEST_ARGS=python{version} -m coverage run --omit='/usr/*,$(CURDIR override_dh_auto_test: PYBUILD_SYSTEM=custom dh_auto_test -override_dh_install: - dh_install +execute_after_dh_auto_install: # we don't want them in the package? rm -rf debian/gitlint/usr/lib/python*/dist-packages/qa + +execute_after_dh_fixperms: find debian/gitlint/usr/lib -name commit-msg -exec chmod +x {} \; |