From ebef30fcccdb002e9425caed6b529ce23b34e9ba Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 20 Dec 2014 19:25:29 +0100 Subject: [PATCH] add python-nose for building libvirt-1.2.11 --- lxc.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lxc.mk b/lxc.mk index 14d43c85..f852ab86 100644 --- a/lxc.mk +++ b/lxc.mk @@ -170,6 +170,16 @@ libvirt-python-MODULES := libvirt-python libvirt-python-SPEC := libvirt-python.spec libvirt-python-BUILD-FROM-SRPM := yes libvirt-python-STOCK-DEVEL-RPMS += pm-utils +# for 1.2.11 +libvirt-python-STOCK-DEVEL-RPMS += python-nose +# it would make sense to do something like this if we wanted to +# build against python3 as well, but for now I turned this feature off +# in libvirt-python +#ifeq "$(distro)" "Fedora" +#xxx if $(distrorelease) > 18 +#libvirt-python-STOCK-DEVEL-RPMS += python3-devel python3-nose python3-lxml +#endif +#endif libvirt-python-LOCAL-DEVEL-RPMS += libvirt-devel libvirt-docs libvirt-client libvirt-python-RPMFLAGS := --define 'packager PlanetLab' ALL += libvirt-python -- 2.43.0