mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
spec: Build against systemd for udev
They have now merged. Fedora details here: https://lists.fedoraproject.org/pipermail/devel/2012-June/168227.html
This commit is contained in:
parent
ca02b101d7
commit
dd7bc51bc4
@ -355,7 +355,11 @@ BuildRequires: augeas
|
|||||||
BuildRequires: hal-devel
|
BuildRequires: hal-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with_udev}
|
%if %{with_udev}
|
||||||
|
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
||||||
|
BuildRequires: systemd-devel >= 185
|
||||||
|
%else
|
||||||
BuildRequires: libudev-devel >= 145
|
BuildRequires: libudev-devel >= 145
|
||||||
|
%endif
|
||||||
BuildRequires: libpciaccess-devel >= 0.10.9
|
BuildRequires: libpciaccess-devel >= 0.10.9
|
||||||
%endif
|
%endif
|
||||||
%if %{with_yajl}
|
%if %{with_yajl}
|
||||||
@ -539,8 +543,12 @@ Requires: ebtables
|
|||||||
Requires: hal
|
Requires: hal
|
||||||
%endif
|
%endif
|
||||||
%if %{with_udev}
|
%if %{with_udev}
|
||||||
|
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
||||||
|
Requires: systemd >= 185
|
||||||
|
%else
|
||||||
Requires: udev >= 145
|
Requires: udev >= 145
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%if %{with_polkit}
|
%if %{with_polkit}
|
||||||
%if 0%{?fedora} >= 12 || 0%{?rhel} >=6
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >=6
|
||||||
Requires: polkit >= 0.93
|
Requires: polkit >= 0.93
|
||||||
|
Loading…
Reference in New Issue
Block a user