summaryrefslogtreecommitdiffstats
path: root/php-phpmailer6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpmailer6.spec')
-rw-r--r--php-phpmailer6.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-phpmailer6.spec b/php-phpmailer6.spec
index fcf903b..71a72a7 100644
--- a/php-phpmailer6.spec
+++ b/php-phpmailer6.spec
@@ -75,7 +75,11 @@ Requires: php-filter
Requires: php-hash
# from phpcompatinfo report on version 6.1.3
Requires: php-date
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Recommends: php-imap
+%else
+Requires: php-imap
+%endif
Requires: php-intl
Requires: php-mbstring
Requires: php-openssl