summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-08 07:07:40 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-08 07:07:40 +0100
commitae04014b3ca0f619bafeb982fc0b831ed81221c9 (patch)
treef7c16906e75cf6f68cc3c760da94b2ac3e0bbc88 /php-pecl-mongodb.spec
parent8d988d728718884ac41bc08742f9804adf3f6198 (diff)
php-pecl-mongodb: test build for pr #526
Diffstat (limited to 'php-pecl-mongodb.spec')
-rw-r--r--php-pecl-mongodb.spec9
1 files changed, 3 insertions, 6 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index b08243d..fd320ca 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -47,8 +47,8 @@ Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
-# Fix tests when using system libraries
-Patch0: %{pecl_name}-tests.patch
+# https://github.com/mongodb/mongo-php-driver/pull/526
+Patch1: 526.patch
BuildRequires: %{?scl_prefix}php-devel > 5.4
BuildRequires: %{?scl_prefix}php-pear
@@ -129,7 +129,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
%if %{with_syslib}
-%patch0 -p0 -b .rpm
+%patch1 -p1 -b .526
%endif
# Sanity check, really often broken
@@ -272,10 +272,7 @@ if [ -s server.pid ] ; then
: Drop known to fail tests
%if "%{mongo_version}" < "3.4"
### With mongodb 3.2
- rm ?TS/tests/manager/manager-debug-001.phpt
- rm ?TS/tests/manager/manager-executequery-without-assignment.phpt
rm ?TS/tests/standalone/bug0487-002.phpt
- rm ?TS/tests/standalone/bug0655.phpt
%endif
%if "%{mongo_version}" < "3.2"
### With mongodb 3.0