summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-29 09:27:21 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-29 09:27:21 +0100
commit61cd6d3c98c0e96d5710d60ab4e972676a644f86 (patch)
tree92fb7ab179e155d0d07e9cdf2df03684a6bc60ce
parent6fee4ba97b52a1400a32587185032b2b2d6d0f59 (diff)
php-pecl-igbinary: minor
-rw-r--r--php-pecl-igbinary.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 294b454..8a1f524 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -99,6 +99,8 @@ igbinary stores PHP data structures in a compact binary form.
Savings are significant when using memcached or similar memory
based storages for serialized data.
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
+
%package devel
Summary: Igbinary developer files (header)
@@ -113,8 +115,6 @@ Provides: %{?scl_prefix}php-%{extname}-devel%{?_isa} = %{version}-%{release
%description devel
These are the files needed to compile programs using Igbinary
-Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
-
%prep
%setup -q -c
@@ -226,7 +226,7 @@ fi
: upstream test suite
cd NTS
TEST_PHP_EXECUTABLE=%{_bindir}/php \
-TEST_PHP_ARGS="-n $MOD -d extension=$PWD/modules/%{extname}.so" \
+TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_extdir}/%{extname}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{_bindir}/php -n run-tests.php --show-diff
@@ -240,7 +240,7 @@ REPORT_EXIT_STATUS=1 \
: upstream test suite
cd ../ZTS
TEST_PHP_EXECUTABLE=%{__ztsphp} \
-TEST_PHP_ARGS="-n $MOD -d extension=$PWD/modules/%{extname}.so" \
+TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_ztsextdir}/%{extname}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{__ztsphp} -n run-tests.php --show-diff