Logoj0ke.net Open Build Service > Projects > internetx:php7:EL7 > php-pecl-igbinary > Changes
Sign Up | Log In

Changes of Revision 9

[-] Changed php-pecl-igbinary-dev.spec
x
 
1
@@ -22,6 +22,8 @@
2
 %global with_zts   0%{!?_without_zts:%{?__ztsphp:1}}
3
 %global gh_commit  332a3d7ca899531f063dab38608e69e0e18f62a2
4
 %global gh_short   %(c=%{gh_commit}; echo ${c:0:7})
5
+
6
+%global with_tests 0
7
 ##lobal gh_date    20160724
8
 ##global prever    -dev
9
 %if "%{php_version}" < "5.6"
10
@@ -210,6 +212,7 @@
11
 
12
 
13
 %check
14
+%if 0%{?with_tests}
15
 MOD=""
16
 %if "%{php_version}" > "7.0"
17
 # See https://github.com/igbinary/igbinary7/issues/24
18
@@ -218,7 +221,7 @@
19
 
20
 # APC required for test 045
21
 if [ -f %{php_extdir}/apcu.so ]; then
22
-  MOD="-d extension=apcu.so -d extension=apc.so"
23
+  MOD="-d extension=apcu.so"
24
 fi
25
 if [ -f %{php_extdir}/apc.so ]; then
26
   MOD="$MOD -d extension=apc.so"
27
@@ -252,7 +255,7 @@
28
 %{__ztsphp} -n run-tests.php --show-diff
29
 %endif
30
 
31
-
32
+%endif
33
 %clean
34
 rm -rf %{buildroot}
35
 
36