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

Changes of Revision 3

[-] Changed php-pecl-mongodb-dev.spec
x
 
1
@@ -1,4 +1,4 @@
2
-# remirepo spec file for php-pecl-mongodb
3
+# tremirepo spec file for php-pecl-mongodb
4
 #
5
 # Copyright (c) 2015-2016 Remi Collet
6
 # License: CC-BY-SA
7
@@ -28,12 +28,12 @@
8
 ##global prever     
9
 
10
 %ifarch x86_64
11
-%global with_tests   0%{?_with_tests:1}
12
+%global with_tests   0%{?_with_tests:0}
13
 %else
14
 # See https://jira.mongodb.org/browse/CDRIVER-1186
15
 # 32-bit MongoDB support was officially deprecated
16
 # in MongoDB 3.2, and support is being removed in 3.4.
17
-%global with_tests   0%{?_with_tests:1}
18
+%global with_tests   0%{?_with_tests:0}
19
 %endif
20
 
21
 %if 0%{?fedora} > 99
22
@@ -231,6 +231,7 @@
23
 
24
 
25
 %check
26
+%if %{with_tests}
27
 : Minimal load test for NTS extension
28
 %{__php} --no-php-ini \
29
     --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
30
@@ -243,6 +244,7 @@
31
     --modules | grep %{pecl_name}
32
 %endif
33
 
34
+%endif
35
 %if %{with_tests}
36
 ret=0
37
 
38