Re: [libvirt PATCH] spec: Drop libiscsi support in RHEL-9

2021-06-24 Thread Jano Tomko
On 6/24/21 10:25 AM, Jiri Denemark wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1975677
> 
> Signed-off-by: Jiri Denemark 
> ---
>  libvirt.spec.in | 4 
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Ján Tomko 

Jano



[libvirt PATCH] spec: Drop libiscsi support in RHEL-9

2021-06-24 Thread Jiri Denemark
https://bugzilla.redhat.com/show_bug.cgi?id=1975677

Signed-off-by: Jiri Denemark 
---
 libvirt.spec.in | 4 
 1 file changed, 4 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index b8a698e81e..c1ccd2f74e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -85,6 +85,10 @@
 %endif
 
 %define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}
+# libiscsi has been dropped in RHEL-9
+%if 0%{?rhel} > 8
+%define with_storage_iscsi_direct 0
+%endif
 
 # Other optional features
 %define with_numactl  0%{!?_without_numactl:1}
-- 
2.32.0