port packaging to dh_python2
[invirt/packages/invirt-vnc-server.git] / debian / rules
index 2dd89b8..adac93c 100755 (executable)
@@ -1,11 +1,12 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM=pysupport
+DEB_PYTHON2_MODULE_PACKAGES=invirt-vnc-server
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
 binary-fixup/invirt-vnc-server::
+       mkdir -p $(DEB_DESTDIR)usr/sbin
        mv $(DEB_DESTDIR)usr/bin/invirt-vnc-server $(DEB_DESTDIR)usr/sbin/invirt-vnc-server
 
 clean::