From a6908ed17b909f7cb445e22a8c0e9f06ff038a13 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Feb 2018 06:14:11 +0100 Subject: fix merge --- php-pecl-redis4.spec | 8 +++++--- 1 file 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} -- cgit