summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-08 19:48:50 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-08 19:48:50 +0200
commit892c22116f9703055121fd73fffc88e740beec08 (patch)
treed196dbc1801671ad541ff728f18471879acaa954
parent812d34134c617c366eeda4256acc625b3368586d (diff)
php-pecl-ev: posix is needed for tests
-rw-r--r--php-pecl-ev.spec3
1 files changed, 3 insertions, 0 deletions
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