summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roundcubemail.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail.spec b/roundcubemail.spec
index c487ce6..b5b1616 100644
--- a/roundcubemail.spec
+++ b/roundcubemail.spec
@@ -9,9 +9,11 @@
#
+# remirepo:1
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
# support for apache / nginx / php-fpm
%global with_phpfpm 1
+# remirepo:3
%else
%global with_phpfpm 0
%endif
@@ -63,9 +65,11 @@ BuildRequires: php-pear(Net_Sieve) >= 1.4.3
BuildRequires: php-pear(Net_LDAP2) >= 2.2.0
BuildRequires: php-composer(kolab/net_ldap3) >= 1.0.6
BuildRequires: php-composer(fedora/autoloader)
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(endroid/qrcode) >= 1.6.5 with php-composer(endroid/qrcode) < 2)
BuildRequires: (php-composer(masterminds/html5) >= 2.3.0 with php-composer(masterminds/html5) < 3)
+# remirepo:6
%else
BuildRequires: php-composer(endroid/qrcode) < 2
BuildRequires: php-composer(endroid/qrcode) >= 1.6.5
@@ -129,9 +133,11 @@ Requires: php-pear(Crypt_GPG) >= 1.6.0
Requires: php-pear(Net_Sieve) >= 1.4.3
Requires: php-pear(Net_LDAP2) >= 2.2.0
Requires: php-composer(kolab/net_ldap3) >= 1.0.6
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(endroid/qrcode) >= 1.6.5 with php-composer(endroid/qrcode) < 2)
Requires: (php-composer(masterminds/html5) >= 2.3.0 with php-composer(masterminds/html5) < 3)
+# remirepo:6
%else
Requires: php-composer(endroid/qrcode) < 2
Requires: php-composer(endroid/qrcode) >= 1.6.5
@@ -150,6 +156,7 @@ Requires: php-exif
# ZIP download plugin
Requires: php-zip
+# remirepo:1
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
# Optional deps
# Spell check
@@ -162,6 +169,7 @@ Suggests: php-redis
Suggests: php-gearman
# PAM password support
#Optional: php-pam
+# remirepo:1
%endif
# Bundled JS libraries