workarounds libvirt bug (details of problem available here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663931#68
note: problem seems old and all major distros uses this fix,
its weird that upstream hasn't fixed it already)
--- /dev/null
+diff -urP libvirt-1.1.0.orig/src/util/virutil.c libvirt-1.1.0/src/util/virutil.c
+--- libvirt-1.1.0.orig/src/util/virutil.c 2013-07-01 03:08:36.000000000 +0000
++++ libvirt-1.1.0/src/util/virutil.c 2013-07-22 12:58:14.053179206 +0000
+@@ -1419,7 +1419,7 @@
+ void virFileWaitForDevices(void)
+ {
+ # ifdef UDEVADM
+- const char *const settleprog[] = { UDEVADM, "settle", NULL };
++ const char *const settleprog[] = { UDEVADM, "settle", "--timeout=10" , NULL };
+ # else
+ const char *const settleprog[] = { UDEVSETTLE, NULL };
+ # endif
Summary(pl.UTF-8): Narzędzia współpracujące z funkcjami wirtualizacji
Name: libvirt
Version: 1.1.0
-Release: 1
+Release: 2
License: LGPL v2.1+
Group: Libraries
Source0: ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz
Patch2: %{name}-qemu-acl.patch
Patch3: %{name}-xend.patch
Patch4: virtlockd.init.patch
+Patch5: %{name}-udevadm-settle.patch
URL: http://www.libvirt.org/
BuildRequires: audit-libs-devel
BuildRequires: augeas-devel
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
# weird translations
%{__rm} po/{my,eu_ES}.{po,gmo}