RHEL 7: Do not depend on libldm (not yet in RHEL 7: RHBZ#887812).

This commit is contained in:
Richard W.M. Jones 2012-12-17 15:26:35 +00:00
parent 15f2c4e4f7
commit 87b5aa153d

View File

@ -86,7 +86,9 @@ BuildRequires: lua
BuildRequires: lua-devel
BuildRequires: libacl-devel
BuildRequires: libcap-devel
%if !0%{?rhel}
BuildRequires: libldm-devel
%endif
# This is only needed for RHEL 5 because readline-devel doesn't
# properly depend on it, but doesn't do any harm on other platforms:
@ -129,7 +131,9 @@ BuildRequires: jfsutils
%endif
BuildRequires: kernel
BuildRequires: kmod
%if !0%{?rhel}
BuildRequires: libldm
%endif
BuildRequires: libselinux
BuildRequires: libxml2
BuildRequires: lsof
@ -208,7 +212,9 @@ Requires: jfsutils
%endif
Requires: kernel
Requires: kmod
%if !0%{?rhel}
Requires: libldm
%endif
Requires: libselinux
Requires: libxml2
Requires: lsof
@ -1083,6 +1089,7 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs
package name (but not the binary) is different in RHEL 7.
* Add workaround for libvirt/KVM bug RHBZ#878406.
* Do not depend on libvirt-daemon-qemu.
* Do not depend on libldm (not yet in RHEL 7: RHBZ#887812).
* Thu Dec 13 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.20.0-1
- New upstream version 1.20.0.