[Pkg-libvirt-commits] [SCM] VirtManager Debian packaging branch, master, updated. debian/0.8.4-4

Guido Günther agx at sigxcpu.org
Fri Jun 4 10:37:11 UTC 2010


The following commit has been merged in the master branch:
commit 8d83b970b980a2f8f65ca81f54cf6ee56924e25d
Author: Loïc Minier <lool at dooz.org>
Date:   Fri Jun 4 11:52:11 2010 +0200

    Tweaks to rules
    
    * Don't include python-distutils class, I don't think it's reasonnable to
      include multiple CDBS classes and this package has no setup.py anyway;
      instead, add a binary-install/virt-manager:: target and call dh_pysupport
      manually.
    * Include gnome class instead of autotools class; this will call dh_gconf
      and properly register/unregister the schemas, hopefully fixes LP: #583279.
    * Include gnome class after the other includes, it used to make a
      significant difference, but probably doesn't make one anymore nowadays.
    
    Closes: #582668

diff --git a/debian/rules b/debian/rules
index 798f39c..533d36e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,11 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM = pysupport
-
-include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/gnome.mk
 
-DEB_PYTHON_SETUP_CMD = /dev/null
+binary-install/virt-manager::
+	dh_pysupport -p$(cdbs_curpkg)
 
 clean::
 	rm -f $(CURDIR)/debian/pycompat

-- 
VirtManager Debian packaging



More information about the Pkg-libvirt-commits mailing list