10
10
%global gh_project mongo-c-driver
11
11
%global libname libmongoc
12
12
%global libver 1.0
13
- %global up_version 1.24 .1
13
+ %global up_version 1.25 .1
14
14
#global up_prever rc0
15
15
# disabled as require a MongoDB server
16
16
%bcond_with tests
@@ -26,7 +26,7 @@ Release: 1%{?dist}
26
26
License: Apache-2.0 AND ISC AND MIT AND Zlib
27
27
URL: https://github.com/%{gh_owner }/%{gh_project }
28
28
29
- Source0: https://github.com/%{gh_owner }/%{gh_project }/releases/download/%{ up_version }%{?up_prever:-%{ up_prever }}/%{ gh_project }- %{up_version }%{?up_prever:-%{up_prever }}.tar.gz
29
+ Source0: https://github.com/%{gh_owner }/%{gh_project }/archive/refs/tags/ %{up_version }%{?up_prever:-%{up_prever }}.tar.gz
30
30
31
31
BuildRequires: cmake >= 3.15
32
32
BuildRequires: gcc
@@ -37,7 +37,7 @@ BuildRequires: openssl-devel
37
37
BuildRequires: pkgconfig(libsasl2)
38
38
BuildRequires: pkgconfig(zlib)
39
39
BuildRequires: pkgconfig(snappy)
40
- BuildRequires: pkgconfig(icu-uc )
40
+ BuildRequires: pkgconfig(libutf8proc )
41
41
BuildRequires: pkgconfig(libzstd)
42
42
%if %{with tests }
43
43
BuildRequires: mongodb-server
@@ -49,7 +49,8 @@ BuildRequires: cmake(mongocrypt) >= 1.5.2
49
49
BuildRequires: perl-interpreter
50
50
# From man pages
51
51
BuildRequires: python3
52
- BuildRequires: /usr/bin/sphinx-build
52
+ BuildRequires: python3-sphinx
53
+ BuildRequires: python3-sphinx-design
53
54
54
55
Requires: %{name }-libs%{?_isa } = %{version }-%{release }
55
56
# Sub package removed
@@ -118,15 +119,16 @@ Documentation: http://mongoc.org/libbson/%{version}/
118
119
119
120
%build
120
121
%cmake \
122
+ -DBUILD_VERSION=%{up_version }%{? up_prever:-%{up_prever }} \
121
123
-DENABLE_MONGOC:BOOL=ON \
122
124
-DENABLE_SHM_COUNTERS:BOOL=ON \
123
125
-DENABLE_SSL:STRING=OPENSSL \
124
126
-DENABLE_SASL:STRING=CYRUS \
125
127
-DENABLE_MONGODB_AWS_AUTH:STRING=ON \
126
- -DENABLE_ICU:STRING=ON \
127
128
-DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF \
128
129
-DENABLE_CRYPTO_SYSTEM_PROFILE:BOOL=ON \
129
130
-DENABLE_MAN_PAGES:BOOL=ON \
131
+ -DENABLE_SHARED:BOOL=ON \
130
132
-DENABLE_STATIC:STRING=OFF \
131
133
-DENABLE_ZLIB:STRING= SYSTEM \
132
134
-DENABLE_ZSTD:STRING= ON \
@@ -144,6 +146,9 @@ Documentation: http://mongoc.org/libbson/%{version}/
144
146
-DENABLE_CLIENT_SIDE_ENCRYPTION:BOOL= OFF \
145
147
%endif
146
148
-DCMAKE_SKIP_RPATH:BOOL= ON \
149
+ -DUSE_BUNDLED_UTF8PROC:BOOL= OFF \
150
+ -DENABLE_SRV:BOOL= ON \
151
+ -DENABLE_MONGODB_AWS_AUTH:STRING= ON \
147
152
-S .
148
153
149
154
%if 0%{?cmake_build:1 }
@@ -238,6 +243,33 @@ exit $ret
238
243
239
244
240
245
%changelog
246
+ *
Wed Nov 8 2023 Remi Collet <[email protected] > -
1.25.1-1
247
+ - update to 1.25.1
248
+
249
+ *
Mon Nov 6 2023 Remi Collet <[email protected] > -
1.25.0-1
250
+ - update to 1.25.0
251
+ - drop dependency on libicu
252
+ - add dependency on libutf8proc
253
+ - open https://jira.mongodb.org/browse/CDRIVER-4767 unusable archive
254
+
255
+ *
Wed Sep 6 2023 Remi Collet <[email protected] > -
1.24.4-1
256
+ - update to 1.24.4 (no change)
257
+
258
+ *
Thu Aug 17 2023 Remi Collet <[email protected] > -
1.24.3-1
259
+ - update to 1.24.3
260
+
261
+ *
Thu Jul 20 2023 Fedora Release Engineering <[email protected] > -
1.24.2-3
262
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
263
+
264
+ *
Thu Jul 13 2023 František Zatloukal <[email protected] > -
1.24.2-2
265
+ - Rebuilt for ICU 73.2
266
+
267
+ *
Thu Jul 13 2023 Remi Collet <[email protected] > -
1.24.2-1
268
+ - update to 1.24.2
269
+
270
+ *
Tue Jul 11 2023 František Zatloukal <[email protected] > -
1.24.1-2
271
+ - Rebuilt for ICU 73.2
272
+
241
273
*
Wed Jun 21 2023 Remi Collet <[email protected] > -
1.24.1-1
242
274
- update to 1.24.1
243
275
0 commit comments