[packages/mongo-c-driver] build with system utf8proc

atler atler at pld-linux.org
Wed Jan 14 17:52:16 CET 2026


commit 4d92c1c904360d1d3073bbe0e0278ca3c8aab71e
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 14 17:50:41 2026 +0100

    build with system utf8proc

 mongo-c-driver.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec
index 52f914c..cfc16b5 100644
--- a/mongo-c-driver.spec
+++ b/mongo-c-driver.spec
@@ -33,6 +33,7 @@ BuildRequires:	python3 >= 1:3.2
 BuildRequires:	rpmbuild(macros) >= 2.047
 BuildRequires:	snappy-devel
 %{?with_doc:BuildRequires:	sphinx-pdg}
+BuildRequires:	utf8proc-devel >= 2.8.0
 BuildRequires:	zlib-devel >= 1.2.12
 BuildRequires:	zstd-devel >= 0.8.0
 %if %{with tests}
@@ -40,6 +41,7 @@ BuildRequires:	mongodb-server
 BuildRequires:	openssl
 %endif
 Requires:	%{name}-libs = %{version}-%{release}
+Requires:	utf8proc >= 2.8.0
 Obsoletes:	mongo-c-driver-tools < 1.3.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -150,7 +152,8 @@ Dokumentacja API biblioteki libbson.
 	-DENABLE_SSL=%{!?with_ssl:OFF}%{?with_ssl:OPENSSL -DENABLE_CRYPTO_SYSTEM_PROFILE=ON} \
 	-DENABLE_STATIC=OFF \
 	-DENABLE_TESTS=%{__ON_OFF tests} \
-	-DENABLE_ZLIB=SYSTEM
+	-DENABLE_ZLIB=SYSTEM \
+	-DUSE_BUNDLED_UTF8PROC=OFF
 
 %{__make} -C cmake-build -j1
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mongo-c-driver.git/commitdiff/a1bf1148e93836730135abb78966533cfd01d9d6



More information about the pld-cvs-commit mailing list