[Pkg-libvirt-commits] [libvirt] 01/02: Install API files into dev package
Guido Guenther
agx at moszumanska.debian.org
Mon Dec 2 22:14:54 UTC 2013
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to annotated tag debian/1.2.0_rc2-1
in repository libvirt.
commit bafc3d6ede458dc3d4116dccdb1a04fe339d79d8
Author: Guido Günther <agx at sigxcpu.org>
Date: Mon Dec 2 09:30:46 2013 +0100
Install API files into dev package
These are needed by the python bindings
---
debian/control | 1 +
debian/libvirt-dev.install | 1 +
debian/rules | 2 ++
3 files changed, 4 insertions(+)
diff --git a/debian/control b/debian/control
index f50b01a..ff75cf5 100644
--- a/debian/control
+++ b/debian/control
@@ -124,6 +124,7 @@ Package: libvirt-dev
Architecture: any
Section: libdevel
Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64]
+Replaces: libvirt-bin (<< 1.2.0~)
Recommends: pkg-config
Description: development files for the libvirt library
Libvirt is a C toolkit to interact with the virtualization capabilities
diff --git a/debian/libvirt-dev.install b/debian/libvirt-dev.install
index 39f0ba5..0f8bc8a 100644
--- a/debian/libvirt-dev.install
+++ b/debian/libvirt-dev.install
@@ -3,3 +3,4 @@ usr/lib/libvirt-lxc.so
usr/lib/libvirt-qemu.so
usr/include/*
usr/lib/pkgconfig/*
+usr/share/libvirt/api/*-api.xml
diff --git a/debian/rules b/debian/rules
index 4b0f2ff..2b5df76 100755
--- a/debian/rules
+++ b/debian/rules
@@ -145,6 +145,8 @@ override_dh_install:
# Don't ship any la files
rm debian/libvirt-bin/usr/lib/libvirt/connection-driver/*.la
+ # Don't ship api files in the daemon package
+ rm -r debian/libvirt-bin/usr/share/libvirt/api/
override_dh_installinit:
dh_systemd_enable
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git
More information about the Pkg-libvirt-commits
mailing list