summaryrefslogtreecommitdiffstats
path: root/php-alcaeus-mongo-php-adapter.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-04-12 07:44:57 +0200
committerRemi Collet <remi@remirepo.net>2017-04-12 07:44:57 +0200
commit3b7d0983118a3aa90f0102856791427d4708d9f0 (patch)
treed9a252c8a6bf14a2788aef8adfb6527b73f188c2 /php-alcaeus-mongo-php-adapter.spec
parent40f0e130355eb117b3910f531498037175ab41b2 (diff)
test build for pr 167
Diffstat (limited to 'php-alcaeus-mongo-php-adapter.spec')
-rw-r--r--php-alcaeus-mongo-php-adapter.spec14
1 files changed, 9 insertions, 5 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 1.0.10-1
- Update to 1.0.10