From: Thierry Parmentelat Date: Tue, 16 Apr 2013 19:30:02 +0000 (+0200) Subject: turns out that patch was more harmful than helping X-Git-Tag: libvirt-1.0.4-3~1 X-Git-Url: http://git.onelab.eu/?p=libvirt.git;a=commitdiff_plain;h=f9d73f45b3f60fd168758bc91fccdc437c993cac turns out that patch was more harmful than helping --- diff --git a/libvirt.spec b/libvirt.spec index 92e2f4c..75089b5 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -384,7 +384,7 @@ URL: http://libvirt.org/ %define mainturl stable_updates/ %endif Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz -Patch1: virgetlasterror.patch +#Patch1: virgetlasterror.patch %if %{with_libvirtd} Requires: libvirt-daemon = %{version}-%{release} @@ -1115,7 +1115,7 @@ of recent versions of Linux (and other OSes). %prep %setup -q -%patch1 -p1 +#%patch1 -p1 %build %if ! %{with_xen} diff --git a/virgetlasterror.patch b/virgetlasterror.patch deleted file mode 100644 index 9109d58..0000000 --- a/virgetlasterror.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/python/libvirt-override.py 2013-04-13 09:47:03.000000000 +0200 -+++ b/python/libvirt-override.py 2013-04-13 09:49:07.000000000 +0200 -@@ -20,7 +20,7 @@ - - # Never call virConnGetLastError(). - # virGetLastError() is now thread local -- err = virGetLastError() -+ err = libvirtmod.virGetLastError() - if err is None: - msg = defmsg - else: