]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Drop libiscsi support in RHEL-9
authorJiri Denemark <jdenemar@redhat.com>
Thu, 24 Jun 2021 08:18:17 +0000 (10:18 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 24 Jun 2021 09:08:54 +0000 (11:08 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1975677

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
libvirt.spec.in

index b8a698e81e445f4f0da5a13c04a3e7d3e268cc69..c1ccd2f74ecd861fb67283579419f7134fa9e294 100644 (file)
 %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}