summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-08 06:14:11 +0100
committerRemi Collet <remi@remirepo.net>2018-02-08 06:14:11 +0100
commita6908ed17b909f7cb445e22a8c0e9f06ff038a13 (patch)
tree52d5e2b833e88fc9ebc64f8f65920bd19d030a69
parent505896ffbcf1eb02de46ebacd9d607ca3dae8878 (diff)
fix merge
-rw-r--r--php-pecl-redis4.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec
index 02b3b63..0deacfd 100644
--- a/php-pecl-redis4.spec
+++ b/php-pecl-redis4.spec
@@ -44,9 +44,11 @@ Patch0: %{pecl_name}-tests.patch
# See https://github.com/phpredis/phpredis/issues/1305
ExcludeArch: s390x
-BuildRequires: php-devel
-BuildRequires: php-pear
-BuildRequires: php-pecl-igbinary-devel
+BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-pear
+%if %{with_igbin}
+BuildRequires: %{?sub_prefix}php-pecl-igbinary-devel
+%endif
BuildRequires: liblzf-devel
# to run Test suite
%if %{with_tests}