Skip to content

Commit b9045da

Browse files
authored
sync RPM spec from downstream (#1892)
1 parent d6f975d commit b9045da

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

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

Lines changed: 5 additions & 6 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.0
13+
%global up_version 1.30.1
1414
#global up_prever rc0
1515
# disabled as require a MongoDB server
1616
%bcond_with tests
@@ -27,15 +27,13 @@
2727
Name: mongo-c-driver
2828
Summary: Client library written in C for MongoDB
2929
Version: %{up_version}%{?up_prever:~%{up_prever}}
30-
Release: 2%{?dist}
30+
Release: 1%{?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}
3434

3535
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/refs/tags/%{up_version}%{?up_prever:-%{up_prever}}.tar.gz
3636

37-
Patch0: upstream.patch
38-
3937
BuildRequires: cmake >= 3.15
4038
BuildRequires: gcc
4139
BuildRequires: gcc-c++
@@ -130,8 +128,6 @@ Documentation: http://mongoc.org/libbson/%{version}/
130128
%prep
131129
%setup -q -n %{gh_project}-%{up_version}%{?up_prever:-%{up_prever}}
132130

133-
%patch -P0 -p1 -b .up
134-
135131

136132
%build
137133
%cmake \
@@ -263,6 +259,9 @@ exit $ret
263259

264260

265261
%changelog
262+
* Tue Feb 25 2025 Remi Collet <[email protected]> - 1.30.1-1
263+
- update to 1.30.1
264+
266265
* Tue Feb 18 2025 Remi Collet <[email protected]> - 1.30.0-2
267266
- add upstream patch for GCC 15
268267
https://jira.mongodb.org/browse/CDRIVER-5889

.evergreen/etc/spec.patch

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
--- mongo-c-driver.spec.orig 2025-02-18 17:59:35.789603056 -0500
2-
+++ mongo-c-driver.spec 2025-02-18 18:06:05.113386323 -0500
1+
--- mongo-c-driver.spec.orig 2025-02-28 17:04:19.401176260 -0500
2+
+++ mongo-c-driver.spec 2025-02-28 17:05:52.190076172 -0500
33
@@ -10,7 +10,7 @@
44
%global gh_project mongo-c-driver
55
%global libname libmongoc
66
%global libver 1.0
7-
-%global up_version 1.30.0
7+
-%global up_version 1.30.1
88
+%global up_version 1.31.0
99
#global up_prever rc0
1010
# disabled as require a MongoDB server
@@ -15,24 +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: 2%{?dist}
18+
Release: 1%{?dist}
1919
# See THIRD_PARTY_NOTICES
2020
License: Apache-2.0 AND ISC AND MIT AND Zlib
21-
@@ -34,8 +34,6 @@
22-
23-
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/refs/tags/%{up_version}%{?up_prever:-%{up_prever}}.tar.gz
24-
25-
-Patch0: upstream.patch
26-
-
27-
BuildRequires: cmake >= 3.15
28-
BuildRequires: gcc
29-
BuildRequires: gcc-c++
30-
@@ -130,8 +128,6 @@
31-
%prep
32-
%setup -q -n %{gh_project}-%{up_version}%{?up_prever:-%{up_prever}}
33-
34-
-%patch -P0 -p1 -b .up
35-
-
36-
37-
%build
38-
%cmake \

0 commit comments

Comments
 (0)