diff --git a/libvirt.spec.in b/libvirt.spec.in index de4ae5e633..081ab98ab0 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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}