diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-08-09 11:47:38 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-08-09 11:47:38 +0200 |
commit | 9ab0a573a9df9c36ddbd75183b03011ae98d0e8d (patch) | |
tree | 9cf767d283029bd890f2d146292087f238ec2401 /mongo-c-driver-dev.spec | |
parent | 7c3008b396433f6ac9bd8f7adbe22e520f24d9dc (diff) |
mongo-c-driver: fix public API pfor pecl/mongodb
Diffstat (limited to 'mongo-c-driver-dev.spec')
-rw-r--r-- | mongo-c-driver-dev.spec | 7 |
1 files changed, 6 insertions, 1 deletions
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 |