Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
EL7
>
php-pecl-igbinary
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
php-pecl-igbinary-dev.spec
@@ -22,6 +22,8 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global gh_commit 332a3d7ca899531f063dab38608e69e0e18f62a2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) + +%global with_tests 0 ##lobal gh_date 20160724 ##global prever -dev %if "%{php_version}" < "5.6" @@ -210,6 +212,7 @@ %check +%if 0%{?with_tests} MOD="" %if "%{php_version}" > "7.0" # See https://github.com/igbinary/igbinary7/issues/24 @@ -218,7 +221,7 @@ # APC required for test 045 if [ -f %{php_extdir}/apcu.so ]; then - MOD="-d extension=apcu.so -d extension=apc.so" + MOD="-d extension=apcu.so" fi if [ -f %{php_extdir}/apc.so ]; then MOD="$MOD -d extension=apc.so" @@ -252,7 +255,7 @@ %{__ztsphp} -n run-tests.php --show-diff %endif - +%endif %clean rm -rf %{buildroot}