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

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

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