summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-02-24 09:59:59 +0100
committerRemi Collet <remi@remirepo.net>2021-02-24 09:59:59 +0100
commit2ccd7f0f06bb6816414f1d3120e280a551544cca (patch)
treeee1f95464ab5152bb92b1bc2e002312b0e56677f
parent777dd706eeb1ca691ad0491491119d3865b192c0 (diff)
EL7 fix
-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