Update invirt-base's setup.py to deal with invirt.authz module.
[invirt/packages/invirt-base.git] / debian / rules
index ec353aa..96d7158 100755 (executable)
@@ -1,4 +1,12 @@
 #!/usr/bin/make -f
 
 #!/usr/bin/make -f
 
-DEB_AUTO_UPDATE_DEBIAN_CONTROL = 0
+DEB_PYTHON_SYSTEM=pysupport
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+binary-fixup/invirt-base::
+       mv $(DEB_DESTDIR)usr/bin/invirt-reload $(DEB_DESTDIR)usr/sbin/invirt-reload
+
+clean::
+       rm -rf python/invirt.egg-info