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
pull/2221/head debian/0.10.2-2
Yaroslav Halchenko 2018-04-04 01:06:14 -04:00
parent 450b890fb1
commit 2c4e777216
3 changed files with 7 additions and 1 deletions

4
debian/changelog vendored
View File

@ -8,6 +8,10 @@ fail2ban (0.10.2-2) unstable; urgency=medium
- remove all non-existing services from PartOf of fail2ban.service. - remove all non-existing services from PartOf of fail2ban.service.
Should resolve inability to restart firewalld (its .service is Should resolve inability to restart firewalld (its .service is
left in PartOf) upon upgrades. 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 <debian@onerussian.com> Wed, 04 Apr 2018 00:47:53 -0400 -- Yaroslav Halchenko <debian@onerussian.com> Wed, 04 Apr 2018 00:47:53 -0400

2
debian/control vendored
View File

@ -5,7 +5,9 @@ Maintainer: Yaroslav Halchenko <debian@onerussian.com>
Build-Depends: Build-Depends:
debhelper (>= 9) debhelper (>= 9)
, debhelper (>= 9.20160709) | dh-systemd , debhelper (>= 9.20160709) | dh-systemd
, dh-python
, python3 , python3
, python3-setuptools
, python3-pyinotify , python3-pyinotify
, sqlite3 , sqlite3
Homepage: http://www.fail2ban.org Homepage: http://www.fail2ban.org

2
debian/rules vendored
View File

@ -55,7 +55,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd build && \ cd build && \
LC_ALL=C.UTF-8 \ LC_ALL=C.UTF-8 \
FAIL2BAN_CONFIG_DIR="$(CURDIR)/config" \ 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 scripts-*/fail2ban-testcases --no-network --verbosity=2
endif endif