# tried to download this on the fly using git archive at git://libvirt.org/libvirt.git
# but it feels like git archive is not supported/allowed there
ALL += libvirt
-libvirt-URL1 := http://mirror.onelab.eu/third-party/libvirt-1.2.3.tar.gz
-libvirt-URL2 := http://planet-lab.org/third-party/libvirt-1.2.3.tar.gz
-libvirt-SHA1SUM := 36763621a430674312fdd08a9c367517e9a2e82e
+libvirt-URL1 := http://mirror.onelab.eu/third-party/libvirt-1.2.4.tar.gz
+libvirt-URL2 := http://planet-lab.org/third-party/libvirt-1.2.4.tar.gz
+libvirt-SHA1SUM := e2f963a21681fdcfd393a48d8160080d9da91bc8
libvirt := $(notdir $(libvirt-URL1))
all: $(ALL)
+++ /dev/null
-diff -ru libvirt-1.2.3/src/lxc/lxc_driver.c libvirt-1.2.3.pl/src/lxc/lxc_driver.c
---- libvirt-1.2.3/src/lxc/lxc_driver.c 2014-03-27 11:35:01.000000000 +0100
-+++ libvirt-1.2.3.pl/src/lxc/lxc_driver.c 2014-04-08 12:25:03.000000000 +0200
-@@ -1475,9 +1475,14 @@
- const char *argv[] = {"ip", "link", "set", "lo", "netns", "-1", NULL};
- int ip_rc;
-
-+ /* somehow this check fails on PL nodes
-+ most likely related to selinux as suggested in
-+ https://bugzilla.redhat.com/show_bug.cgi?id=1050210
-+
- if (virRun(argv, &ip_rc) < 0 ||
- !(WIFEXITED(ip_rc) && (WEXITSTATUS(ip_rc) != 255)))
- return 0;
-+ */
-
- if (lxcContainerAvailable(LXC_CONTAINER_FEATURE_NET) < 0)
- return 0;
# -*- rpm-spec -*-
-%define mainstream_version 1.2.3
+%define mainstream_version 1.2.4
%define module_version_varname mainstream_version
%define taglevel 2
%define packager PlanetLab/OneLab
%define mainturl stable_updates/
%endif
Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
-Patch1: libvirt-1.2.3-bypass-netns-check.patch
%if %{with_libvirtd}
Requires: libvirt-daemon = %{version}-%{release}
%prep
%setup -q
-%patch1 -p1 -b .bypass-netns-check
%build
%if ! %{with_xen}