diff --git a/debian/changelog b/debian/changelog index fc8b9602..a1f4a700 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ fail2ban (0.11.1-1) UNRELEASED; urgency=medium * New upstream release (Closes: #922539) * Import fail2ban in the Debian Python Umbrella (Closes: #947926) * Remove the old dep to Python (Closes: #945670) + * Run ./fail2ban-2to3 as part of the build to be Python 3 ready [ Jelmer Vernooij ] * Use secure URI in Vcs control header. @@ -14,7 +15,7 @@ fail2ban (0.10.2-2) unstable; urgency=medium [ Arturo Borrero Gonzalez ] * Recommend nftables as an alternative to iptables (Closes: #892472) - + [ Yaroslav Halchenko ] * debian/patches/deb_no_iptables_service (Closes: #871993) - remove all non-existing services from PartOf of fail2ban.service. diff --git a/debian/control b/debian/control index a8bed85b..a6ed99ae 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Build-Depends: , python3-setuptools , python3-pyinotify , sqlite3 + , 2to3 Homepage: http://www.fail2ban.org Vcs-Git: https://salsa.debian.org/python-team/applications/fail2ban.git Vcs-Browser: https://salsa.debian.org/python-team/applications/fail2ban diff --git a/debian/rules b/debian/rules index 67438cb4..5a1d95fa 100755 --- a/debian/rules +++ b/debian/rules @@ -24,6 +24,10 @@ override_dh_clean: : # auto generated -rm bin/fail2ban-python +override_dh_auto_configure: + LANG=C ./fail2ban-2to3 + dh_auto_configure + override_dh_install: rm -f $(DESTDIR)/usr/share/doc/fail2ban/README.Solaris rm -f $(DESTDIR)/etc/fail2ban/paths-fedora.conf