]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Build against systemd for udev
authorCole Robinson <crobinso@redhat.com>
Wed, 6 Jun 2012 18:03:47 +0000 (14:03 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 6 Jun 2012 20:53:36 +0000 (16:53 -0400)
They have now merged. Fedora details here:

https://lists.fedoraproject.org/pipermail/devel/2012-June/168227.html

libvirt.spec.in

index 3c544f17f81e83a9a12859ba25e61d3d3a9ed491..a78b11791201cc13e409be43bbe0b1dec51c11c6 100644 (file)
@@ -355,7 +355,11 @@ BuildRequires: augeas
 BuildRequires: hal-devel
 %endif
 %if %{with_udev}
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+BuildRequires: systemd-devel >= 185
+%else
 BuildRequires: libudev-devel >= 145
+%endif
 BuildRequires: libpciaccess-devel >= 0.10.9
 %endif
 %if %{with_yajl}
@@ -539,8 +543,12 @@ Requires: ebtables
 Requires: hal
 %endif
 %if %{with_udev}
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+Requires: systemd >= 185
+%else
 Requires: udev >= 145
 %endif
+%endif
 %if %{with_polkit}
 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
 Requires: polkit >= 0.93