Run ./fail2ban-2to3 as part of the build to be Python 3 ready

debian
Sylvestre Ledru 2020-01-12 23:53:14 +01:00
parent ac93287f9d
commit 1e472b23bc
3 changed files with 7 additions and 1 deletions

3
debian/changelog vendored
View File

@ -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.

1
debian/control vendored
View File

@ -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

4
debian/rules vendored
View File

@ -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