Group: Development/Libraries
URL: http://libvirt.org/
Source0: ftp://libvirt.org/libvirt/libvirt-%{version}.tar.gz
-Patch1: 0001-build-do-not-build-shunloadtest-if-pthread-missing.patch
-Patch2: 0002-build-fix-output-of-pid-values.patch
-Patch3: 0003-build-update-pid_t-type-static-check.patch
-# Mingw-w64 trunk (jan 27 2012) contains an inline implementation of the
-# vscanf and vfscanf functions in stdio.h. This break compilation of gnulib
-# which tries to provide its own implementation for the vscanf and vfscanf
-# functions. Workaround is by making sure that the inline implementation
-# isn't triggered by #include <stdio.h>
-Patch4: libvirt-gnulib-workaround-mingw-w64-vfscanf-failure.patch
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw64-filesystem >= 95
%prep
%setup -q -n libvirt-%{version}
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p0
%build
%if ! %{with_phyp}