From 9ab0a573a9df9c36ddbd75183b03011ae98d0e8d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Aug 2016 11:47:38 +0200 Subject: mongo-c-driver: fix public API pfor pecl/mongodb --- mongo-c-driver-dev.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mongo-c-driver-dev.spec') diff --git a/mongo-c-driver-dev.spec b/mongo-c-driver-dev.spec index 00df492..ad3cf74 100644 --- a/mongo-c-driver-dev.spec +++ b/mongo-c-driver-dev.spec @@ -21,6 +21,7 @@ # in MongoDB 3.2, and support is being removed in 3.4. %global with_tests 0%{?_with_tests:1} %endif +%global with_tests 0 Name: mongo-c-driver Summary: Client library written in C for MongoDB @@ -32,6 +33,9 @@ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/releases/download/%{version}%{?prever:-%{prever}}/%{gh_project}-%{version}%{?prever:-%{prever}}.tar.gz +# https://github.com/mongodb/mongo-c-driver/pull/385 +Patch0: %{name}-api.patch + BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libbson-1.0) > %{bsonver} %if 0%{?fedora} > 21 || 0%{?rhel} > 6 @@ -81,6 +85,7 @@ Documentation: http://api.mongodb.org/c/%{version}/ %prep %setup -q -n %{gh_project}-%{version}%{?prever:-%{prever}} +%patch0 -p1 -b .api rm -r src/libbson @@ -148,7 +153,7 @@ make check || ret=1 exit $ret %else -: check disabled, missing '--with tests' option +make -C tests abicheck %endif -- cgit