BF: --install-layout=deb for setup.py + python (>= 2.5.4-1~) to fix install with python2.6 (closes: #571213)

debian-releases/squeeze
Yaroslav Halchenko 2010-02-25 00:03:22 -05:00
parent d2d283d18c
commit 3f898d7c05
2 changed files with 3 additions and 3 deletions

4
debian/control vendored
View File

@ -2,13 +2,13 @@ Source: fail2ban
Section: net
Priority: optional
Maintainer: Yaroslav Halchenko <debian@onerussian.com>
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

2
debian/rules vendored
View File

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