summaryrefslogtreecommitdiffstats
path: root/mongo-c-driver.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-31 10:35:33 +0200
committerRemi Collet <fedora@famillecollet.com>2016-03-31 10:35:33 +0200
commit406e5002487f3c50da0f3e1bed1ab28389fff5fd (patch)
tree683349bd475da61a93db49280a8e3779e122220a /mongo-c-driver.spec
parent81c8bc6e1b537dc95019198f183c34cae0e7920f (diff)
mongo-c-driver: 1.3.5
Diffstat (limited to 'mongo-c-driver.spec')
-rw-r--r--mongo-c-driver.spec17
1 files changed, 12 insertions, 5 deletions
diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec
index bce1478..000dda3 100644
--- a/mongo-c-driver.spec
+++ b/mongo-c-driver.spec
@@ -29,8 +29,8 @@
Name: mongo-c-driver
Summary: Client library written in C for MongoDB
-Version: 1.3.4
-Release: 2%{?dist}
+Version: 1.3.5
+Release: 1%{?dist}
License: ASL 2.0
Group: System Environment/Libraries
URL: https://github.com/%{gh_owner}/%{gh_project}
@@ -89,17 +89,19 @@ Documentation: http://api.mongodb.org/c/%{version}/
rm -r src/libbson
+# Ignore check for libbson version = libmongoc version
+sed -e 's/libbson-1.0 >= $MONGOC_RELEASED_VERSION/libbson-1.0 >= 1.3/' \
+ -i configure
+
%build
export LIBS=-lpthread
-# See https://jira.mongodb.org/browse/CDRIVER-1160
-# and https://jira.mongodb.org/browse/CDRIVER-1165
-export CFLAGS="$RPM_OPT_FLAGS -DMONGOC_NO_AUTOMATIC_GLOBALS"
%configure \
--enable-hardening \
--enable-debug-symbols\
--enable-shm-counters \
+ --disable-automatic-init-and-cleanup \
%if %{with_tests}
--enable-tests \
%else
@@ -176,6 +178,11 @@ exit $ret
%changelog
+* Thu Mar 31 2016 Remi Collet <remi@fedoraproject.org> - 1.3.5-1
+- update to 1.3.5
+- use --disable-automatic-init-and-cleanup build option
+- ignore check for libbson version = libmongoc version
+
* Sat Mar 19 2016 Remi Collet <remi@fedoraproject.org> - 1.3.4-2
- build with MONGOC_NO_AUTOMATIC_GLOBALS