Changes of Revision 3
[-] | Changed | php-pecl-mongodb-dev.spec |
x 1
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
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
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
31 --modules | grep %{pecl_name} 32 %endif 33 34 +%endif 35 %if %{with_tests} 36 ret=0 37 38 |