summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-19 08:14:09 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-19 08:14:09 +0100
commit81c8bc6e1b537dc95019198f183c34cae0e7920f (patch)
treede1baca43fa5e7b35e5cc1121591f5b650025f1b
parent6a28698755c436510a4c4993441baf37e5ab1f63 (diff)
mongo-c-driver: build with MONGOC_NO_AUTOMATIC_GLOBALS
-rw-r--r--mongo-c-driver.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec
index fab826b..bce1478 100644
--- a/mongo-c-driver.spec
+++ b/mongo-c-driver.spec
@@ -30,7 +30,7 @@
Name: mongo-c-driver
Summary: Client library written in C for MongoDB
Version: 1.3.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: ASL 2.0
Group: System Environment/Libraries
URL: https://github.com/%{gh_owner}/%{gh_project}
@@ -92,6 +92,9 @@ rm -r src/libbson
%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 \
@@ -173,6 +176,9 @@ exit $ret
%changelog
+* Sat Mar 19 2016 Remi Collet <remi@fedoraproject.org> - 1.3.4-2
+- build with MONGOC_NO_AUTOMATIC_GLOBALS
+
* Tue Mar 15 2016 Remi Collet <remi@fedoraproject.org> - 1.3.4-1
- update to 1.3.4
- drop patch merged upstream