From 4e1d26b1818e12e9cb8984cd52d949f116a28b5a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Jul 28 2016 06:00:07 +0000 Subject: only run upstream test suite when build --with tests --- diff --git a/php-mongodb.spec b/php-mongodb.spec index 383f61c..b03deb0 100644 --- a/php-mongodb.spec +++ b/php-mongodb.spec @@ -11,11 +11,9 @@ %global gh_owner mongodb #global gh_date 20151102 %global gh_project mongo-php-library -%if 0%{?fedora} >= 21 || 0%{?rhel} >= 6 +# 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} -%else -%global with_tests 0%{?_with_tests:1} -%endif %global psr0 MongoDB #global prever beta2 @@ -24,7 +22,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 @@ -37,8 +35,6 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit Source1: %{name}-autoload.php BuildArch: noarch -Excludearch: ppc ppc64 - %if %{with_tests} BuildRequires: php(language) >= 5.4 BuildRequires: php-reflection @@ -147,6 +143,9 @@ exit $RET %changelog +* Thu Jul 28 2016 Remi Collet - 1.0.2-2 +- only run upstream test suite when build --with tests + * Thu Mar 31 2016 Remi Collet - 1.0.2-1 - update to 1.0.2