summaryrefslogtreecommitdiff
path: root/libvirt.spec.in
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2021-06-24 10:18:17 +0200
committerJiri Denemark <jdenemar@redhat.com>2021-06-24 11:08:54 +0200
commitb3bbe5d8f58ccb81ab40ad2b6c3df5d1c0b70139 (patch)
tree32e343dc95245fc73a378caaa424d2fbad388f8f /libvirt.spec.in
parent5f96ea10d4a509bfa7ae197da2eeee925a055d4a (diff)
downloadlibvirt-b3bbe5d8f58ccb81ab40ad2b6c3df5d1c0b70139.tar.gz
spec: Drop libiscsi support in RHEL-9
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>
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r--libvirt.spec.in4
1 files changed, 4 insertions, 0 deletions
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}