Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php7
:
EL7
>
php-pecl-mongodb
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
php-pecl-mongodb-dev.spec
@@ -1,4 +1,4 @@ -# remirepo spec file for php-pecl-mongodb +# tremirepo spec file for php-pecl-mongodb # # Copyright (c) 2015-2016 Remi Collet # License: CC-BY-SA @@ -28,12 +28,12 @@ ##global prever %ifarch x86_64 -%global with_tests 0%{?_with_tests:1} +%global with_tests 0%{?_with_tests:0} %else # See https://jira.mongodb.org/browse/CDRIVER-1186 # 32-bit MongoDB support was officially deprecated # in MongoDB 3.2, and support is being removed in 3.4. -%global with_tests 0%{?_with_tests:1} +%global with_tests 0%{?_with_tests:0} %endif %if 0%{?fedora} > 99 @@ -231,6 +231,7 @@ %check +%if %{with_tests} : Minimal load test for NTS extension %{__php} --no-php-ini \ --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ @@ -243,6 +244,7 @@ --modules | grep %{pecl_name} %endif +%endif %if %{with_tests} ret=0