diff --git a/debian/rules b/debian/rules
index 69ff95c2c29d2dc0b223d2e14adf02d67f56d3e5..0aacc2b0efb19d320200acf0227300562d8f26ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ export PYBUILD_NAME=authserv
 
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2 --buildsystem=python_distutils
 
 override_dh_auto_build:
 	(cd pam && ./autogen.sh && ./configure --prefix=/usr && make)