summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.spec b/php.spec
index 6b81f13..5d51608 100644
--- a/php.spec
+++ b/php.spec
@@ -67,7 +67,12 @@
%bcond_with oci8
%bcond_with zip
# Optional extensions; to disable: pass "--without xxx" etc to rpmbuild/mock.
+%if 0%{?fedora} >= 38 || 0%{?rhel} >= 10
+# uw-imap is not available
+%bcond_with imap
+%else
%bcond_without imap
+%endif
%bcond_without firebird
%bcond_without freetds
%bcond_without tidy