[libvirt] [PATCH] spec: Build against systemd for udev

They have now merged. Fedora details here: https://lists.fedoraproject.org/pipermail/devel/2012-June/168227.html Signed-off-by: Cole Robinson <crobinso@redhat.com> --- libvirt.spec.in | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 3c544f1..a78b117 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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 -- 1.7.7.6

On 06/06/2012 01:52 PM, Cole Robinson wrote:
They have now merged. Fedora details here:
https://lists.fedoraproject.org/pipermail/devel/2012-June/168227.html
Signed-off-by: Cole Robinson <crobinso@redhat.com> --- libvirt.spec.in | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
ACK. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 06/06/2012 04:37 PM, Eric Blake wrote:
On 06/06/2012 01:52 PM, Cole Robinson wrote:
They have now merged. Fedora details here:
https://lists.fedoraproject.org/pipermail/devel/2012-June/168227.html
Signed-off-by: Cole Robinson <crobinso@redhat.com> --- libvirt.spec.in | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
ACK.
Thanks, pushed now. - Cole
participants (2)
-
Cole Robinson
-
Eric Blake