1010%global gh_project mongo-c-driver
1111%global libname libmongoc
1212%global libver 1.0
13- %global up_version 1.30.2
13+ %global up_version 1.30.5
1414#global up_prever rc0
1515# disabled as require a MongoDB server
1616%bcond_with tests
2727Name: mongo-c-driver
2828Summary: Client library written in C for MongoDB
2929Version: %{up_version }%{?up_prever:~%{up_prever }}
30- Release: 1 %{?dist }
30+ Release: 2 %{?dist }
3131# See THIRD_PARTY_NOTICES
3232License: Apache-2.0 AND ISC AND MIT AND Zlib
3333URL: https://github.com/%{gh_owner }/%{gh_project }
@@ -215,7 +215,7 @@ make check || ret=1
215215[ -s server.pid ] && kill $(cat server.pid)
216216%endif
217217
218- if grep -r static %{buildroot }%{_libdir }/cmake; then
218+ if grep -r static %{buildroot }%{_libdir }/cmake/*%{ libver } ; then
219219 : cmake configuration file contain reference to static library
220220 ret= 1
221221fi
@@ -239,6 +239,7 @@ exit $ret
239239%{_libdir }/pkgconfig/%{libname }-* .pc
240240%{_libdir }/cmake/%{libname }-%{libver }
241241%{_libdir }/cmake/mongoc-%{libver }
242+ %{_libdir }/cmake/mongoc-%{version }
242243%{_mandir }/man3/mongoc*
243244
244245%files -n libbson
@@ -253,12 +254,26 @@ exit $ret
253254%{_libdir }/libbson* .so
254255%{_libdir }/cmake/libbson-%{libver }
255256%{_libdir }/cmake/bson-%{libver }
257+ %{_libdir }/cmake/bson-%{version }
256258%{_libdir }/pkgconfig/libbson-* .pc
257259%{_mandir }/man3/bson*
258260%{_mandir }/man3/libbson*
259261
260262
261263%changelog
264+ *
Thu Jul 24 2025 Fedora Release Engineering <[email protected] > -
1.30.5-2 265+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
266+
267+ *
Wed Jun 18 2025 Remi Collet <[email protected] > -
1.30.5-1 268+ - update to 1.30.5
269+
270+ *
Wed May 7 2025 Remi Collet <[email protected] > -
1.30.4-1 271+ - update to 1.30.4
272+
273+ *
Wed Apr 9 2025 Remi Collet <[email protected] > -
1.30.3-1 274+ - update to 1.30.3
275+ - add configuration for mongoc and bson cmake targets
276+
262277*
Wed Mar 5 2025 Remi Collet <[email protected] > -
1.30.2-1 263278- update to 1.30.2
264279
0 commit comments