summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-17 16:31:39 +0200
committerRemi Collet <remi@remirepo.net>2018-09-17 16:31:39 +0200
commit16c4361b7f278d481add4254b6f40d00f4688e13 (patch)
tree5db3e5c2c680e49295ed314ed7461beeb62c70d9
parent30b92695ce9d7dfc7e92508408c672b0f034724d (diff)
clean for Fedora
-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