From 3f898d7c0518d34647903eb1207f3e1005ae59a6 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 25 Feb 2010 00:03:22 -0500 Subject: [PATCH] BF: --install-layout=deb for setup.py + python (>= 2.5.4-1~) to fix install with python2.6 (closes: #571213) --- debian/control | 4 ++-- debian/rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 9fee2855..64cf9b87 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,13 @@ Source: fail2ban Section: net Priority: optional Maintainer: Yaroslav Halchenko -Build-Depends: debhelper (>= 5.0.37.2), python +Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4-1~) Build-Depends-Indep: python-central (>= 0.5.6) XS-Python-Version: current, >= 2.4 Homepage: http://www.fail2ban.org Vcs-Browser: http://git.onerussian.com/?p=deb/fail2ban.git Vcs-git: git://git.onerussian.com/deb/fail2ban.git -Standards-Version: 3.8.3 +Standards-Version: 3.8.4 Package: fail2ban diff --git a/debian/rules b/debian/rules index a56e7337..0ae80a69 100755 --- a/debian/rules +++ b/debian/rules @@ -37,7 +37,7 @@ install: build dh_installdirs # Install the package into debian/fail2ban. - python setup.py install --root=$(DESTDIR) --no-compile + python setup.py install --root=$(DESTDIR) --no-compile --install-layout=deb # Install Debian shipped jail file in 1 piece (instead of patching # the shipped one since there are too many changes) install -m 644 debian/jail.conf $(DESTDIR)/etc/fail2ban