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

Jiri Denemark posted 1 patch 2 years, 9 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/91375d66a13754d9c5ab626975301aeb6b10f765.1624523100.git.jdenemar@redhat.com
libvirt.spec.in | 4 ++++
1 file changed, 4 insertions(+)
[libvirt PATCH] spec: Drop libiscsi support in RHEL-9
Posted by Jiri Denemark 2 years, 9 months ago
https://bugzilla.redhat.com/show_bug.cgi?id=1975677

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 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

Re: [libvirt PATCH] spec: Drop libiscsi support in RHEL-9
Posted by Jano Tomko 2 years, 9 months ago
On 6/24/21 10:25 AM, Jiri Denemark wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1975677
> 
> Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
> ---
>  libvirt.spec.in | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano