From 2c4e7772164fcde77e3b12c69282bd821b4bf43c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 4 Apr 2018 01:06:14 -0400 Subject: [PATCH] BF: B-Depend on python3-setuptools and dh-python, Fixed up hardcoded path to the .build-ed package for testing Will require tune ups for backports later on --- debian/changelog | 4 ++++ debian/control | 2 ++ debian/rules | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 795f2b20..2e99c4d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,10 @@ fail2ban (0.10.2-2) unstable; urgency=medium - remove all non-existing services from PartOf of fail2ban.service. Should resolve inability to restart firewalld (its .service is left in PartOf) upon upgrades. + * debian/control + - B-Depend on python3-setuptools and dh-python + * debian/rules + - Fixed up hardcoded path to the .build-ed package for testing -- Yaroslav Halchenko Wed, 04 Apr 2018 00:47:53 -0400 diff --git a/debian/control b/debian/control index 2340b90a..f9b0eca3 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,9 @@ Maintainer: Yaroslav Halchenko Build-Depends: debhelper (>= 9) , debhelper (>= 9.20160709) | dh-systemd + , dh-python , python3 + , python3-setuptools , python3-pyinotify , sqlite3 Homepage: http://www.fail2ban.org diff --git a/debian/rules b/debian/rules index c0318f96..bc2f6732 100755 --- a/debian/rules +++ b/debian/rules @@ -55,7 +55,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) cd build && \ LC_ALL=C.UTF-8 \ FAIL2BAN_CONFIG_DIR="$(CURDIR)/config" \ - PYTHONPATH="$(CURDIR)/.pybuild/pythonX.Y_$(PYVERSION)/build/" \ + PYTHONPATH="$(CURDIR)/.pybuild/cpython3_$(PYVERSION)/build/" \ scripts-*/fail2ban-testcases --no-network --verbosity=2 endif