From 3b7d0983118a3aa90f0102856791427d4708d9f0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Apr 2017 07:44:57 +0200 Subject: test build for pr 167 --- php-alcaeus-mongo-php-adapter.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'php-alcaeus-mongo-php-adapter.spec') diff --git a/php-alcaeus-mongo-php-adapter.spec b/php-alcaeus-mongo-php-adapter.spec index 5a9a728..955606e 100644 --- a/php-alcaeus-mongo-php-adapter.spec +++ b/php-alcaeus-mongo-php-adapter.spec @@ -14,9 +14,7 @@ # Server only available on LE arch (ExcludeArch: ppc ppc64 %{sparc} s390 s390x) %global with_tests 0%{?_with_tests:1} # remirepo:5 -# Test suite rely on MongoDB server 3.2 -# https://github.com/alcaeus/mongo-php-adapter/issues/164 -%if 0%{?fedora} >= 24 && 0%{?fedora} <= 25 +%if 0%{?fedora} >= 24 %global with_tests 0%{!?_without_tests:1} %endif %global ns_vendor Alcaeus @@ -24,7 +22,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.0.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mongo PHP Adapter Group: Development/Libraries @@ -32,6 +30,8 @@ License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{?gh_short}.tar.gz +Patch0: 167.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-fedora-autoloader-devel @@ -82,7 +82,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/MongoDbAdapter/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} - +%patch0 -p1 mv lib/Mongo lib/%{ns_vendor}/Mongo @@ -171,6 +171,10 @@ rm -rf %{buildroot} %changelog +* Wed Apr 12 2017 Remi Collet - 1.0.10-2 +- add patch from https://github.com/alcaeus/mongo-php-adapter/pull/167 +- enable test suite with mongodb 3.1 (F26) + * Thu Mar 30 2017 Remi Collet - 1.0.10-1 - Update to 1.0.10 -- cgit