[libvirt] [PATCH] spec: Require libiscsi-devel instead of libiscsi

Pavel Hrdina phrdina at redhat.com
Tue Aug 14 12:18:06 UTC 2018


On Tue, Aug 14, 2018 at 01:44:40PM +0200, Andrea Bolognani wrote:
> Commit 34a6962c41b4 added a BuildRequires for the
> iscsi-direct backend, but we need the headers rather
> than the runtime package to be available in order to
> link against the library.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  libvirt.spec.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 788483cdd4..63834767dd 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -320,7 +320,7 @@ BuildRequires: lvm2
>  # For pool type=iscsi
>  BuildRequires: iscsi-initiator-utils
>  # For pool type=iscsi-direct
> -BuildRequires: libiscsi
> +BuildRequires: libiscsi-devel
>  # For disk driver
>  BuildRequires: parted-devel
>  # For Multipath support

This change is correct but it's not good enough to fix all the issues in
specfile related to iscsi-direct, I'll post a patch in a minute that
fixes remaining issues including this one.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180814/02a99067/attachment-0001.sig>


More information about the libvir-list mailing list