From 892c22116f9703055121fd73fffc88e740beec08 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Sep 2014 19:48:50 +0200 Subject: php-pecl-ev: posix is needed for tests --- php-pecl-ev.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php-pecl-ev.spec b/php-pecl-ev.spec index 4770ea0..4764e07 100644 --- a/php-pecl-ev.spec +++ b/php-pecl-ev.spec @@ -43,6 +43,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel > 5.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-sockets +# For tests +BuildRequires: %{?scl_prefix}php-posix Requires(post): %{__pecl} Requires(postun): %{__pecl} @@ -171,6 +173,7 @@ fi %check DEPMOD= [ -f %{php_extdir}/sockets.so ] && DEPMOD="$DEPMOD -d extension=sockets.so" +[ -f %{php_extdir}/posix.so ] && DEPMOD="$DEPMOD -d extension=posix.so" : Minimal load test for NTS extension cd NTS -- cgit