]> 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>
Thu, 14 Jun 2012 22:38:26 +0000 (18:38 -0400)
They have now merged. Fedora details here:

https://lists.fedoraproject.org/pipermail/devel/2012-June/168227.html
(cherry picked from commit dd7bc51bc45051b708c1b47b80d1e8402fcbcc5a)

Conflicts:

libvirt.spec.in

libvirt.spec.in

index de4ae5e633931d7da21e95ac4f1a1ae4404f9b31..081ab98ab048fb172bb5098922fd0b87dc529178 100644 (file)
@@ -404,7 +404,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}