Skip to content

Commit c758080

Browse files
committed
sync RPM spec from downstream
1 parent 2efde1b commit c758080

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.evergreen/etc/mongo-c-driver.spec

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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
@@ -27,7 +27,7 @@
2727
Name: mongo-c-driver
2828
Summary: Client library written in C for MongoDB
2929
Version: %{up_version}%{?up_prever:~%{up_prever}}
30-
Release: 1%{?dist}
30+
Release: 2%{?dist}
3131
# See THIRD_PARTY_NOTICES
3232
License: Apache-2.0 AND ISC AND MIT AND Zlib
3333
URL: 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
221221
fi
@@ -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

.evergreen/etc/spec.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
%global gh_project mongo-c-driver
55
%global libname libmongoc
66
%global libver 1.0
7-
-%global up_version 1.30.2
8-
+%global up_version 1.30.3
7+
-%global up_version 1.30.5
8+
+%global up_version 1.30.6
99
#global up_prever rc0
1010
# disabled as require a MongoDB server
1111
%bcond_with tests
@@ -15,6 +15,6 @@
1515
Summary: Client library written in C for MongoDB
1616
-Version: %{up_version}%{?up_prever:~%{up_prever}}
1717
+Version: %{up_version}%{?up_prever}
18-
Release: 1%{?dist}
18+
Release: 2%{?dist}
1919
# See THIRD_PARTY_NOTICES
2020
License: Apache-2.0 AND ISC AND MIT AND Zlib

0 commit comments

Comments
 (0)