From 6fd8bb69aa0a9933dc4a46a9b1e0170ecfe7014e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Jul 28 2016 06:13:55 +0000 Subject: only run upstream test suite when build --with tests (bis) --- diff --git a/php-mongodb.spec b/php-mongodb.spec index b03deb0..2d6953c 100644 --- a/php-mongodb.spec +++ b/php-mongodb.spec @@ -13,7 +13,7 @@ %global gh_project mongo-php-library # Upstream only support 64bits, see https://jira.mongodb.org/browse/CDRIVER-1186 # Server only available on LE arch (ExcludeArch: ppc ppc64 %{sparc} s390 s390x) -%global with_tests 0%{!?_without_tests:1} +%global with_tests 0%{?_with_tests:1} %global psr0 MongoDB #global prever beta2