diff --git a/debian/rules b/debian/rules index df4e5cf..fc06279 100755 --- a/debian/rules +++ b/debian/rules @@ -1,19 +1,22 @@ #!/usr/bin/make -f -export PYBUILD_DISABLE=test +export PYBUILD_NAME=fail2ban-p2p %: - dh $@ --with python3 + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + : override_dh_auto_build: - python3 setup.py build + python3 setup.py build override_dh_auto_install: - python3 setup.py install \ - --root=$(CURDIR)/debian/fail2ban-p2p \ - --no-compile \ - --install-layout=deb + python3 setup.py install \ + --root=$(CURDIR)/debian/fail2ban-p2p \ + --no-compile \ + --install-layout=deb override_dh_auto_clean: - -python3 setup.py clean --all - rm -rf build .pybuild + -python3 setup.py clean --all + rm -rf build .pybuild