add patch to libvirt for by-passing the check for netns being installed
[libvirt.git] / libvirt.spec
index 1c725f5..7ba3dda 100644 (file)
@@ -1,6 +1,6 @@
 # -*- rpm-spec -*-
 
-%define mainstream_version 1.2.1
+%define mainstream_version 1.2.3
 %define module_version_varname mainstream_version
 %define taglevel 1
 %define packager PlanetLab/OneLab
@@ -411,6 +411,7 @@ URL: http://libvirt.org/
     %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}
@@ -1190,6 +1191,7 @@ driver
 
 %prep
 %setup -q
+%patch1 -p0 -b .bypass-netns-check
 
 %build
 %if ! %{with_xen}
@@ -1854,7 +1856,8 @@ exit 0
 %{_datadir}/augeas/lenses/virtlockd.aug
 %{_datadir}/augeas/lenses/tests/test_virtlockd.aug
 %{_datadir}/augeas/lenses/libvirt_lockd.aug
-%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
+### planetlab: we do not run tests
+# %{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
 
     %if %{with_polkit}
         %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6