summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-28 07:59:10 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-28 07:59:10 +0200
commit26faed182ee3e56ad3458bad74a01f51b56961b0 (patch)
tree9ed909602ef822bb7519e1a2f47dcf5f9d3a4620
parent9d23502eea7c1df97fdb83a275a037d577618859 (diff)
php-mongodb: disable test suite
-rw-r--r--php-mongodb.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/php-mongodb.spec b/php-mongodb.spec
index fa999e7..276353a 100644
--- a/php-mongodb.spec
+++ b/php-mongodb.spec
@@ -11,10 +11,12 @@
%global gh_owner mongodb
#global gh_date 20151102
%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}
+# remirepo:3
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 6
%global with_tests 0%{!?_without_tests:1}
-%else
-%global with_tests 0%{?_with_tests:1}
%endif
%global psr0 MongoDB
#global prever beta2
@@ -24,7 +26,7 @@ Version: 1.0.2
%if 0%{?gh_date}
Release: 0.2.%{gh_date}git%{gh_short}%{?dist}
%else
-Release: 1%{?dist}
+Release: 2%{?dist}
%endif
Summary: MongoDB driver library
@@ -165,6 +167,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 1.0.2-2
+- only run upstream test suite when build --with tests
+
* Thu Mar 31 2016 Remi Collet <remi@fedoraproject.org> - 1.0.2-1
- update to 1.0.2