Skip to content

Commit 021528e

Browse files
authored
RPM packaging updates (#1289)
1 parent ab96065 commit 021528e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.evergreen/spec.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- mongo-cxx-driver.spec.orig 2021-09-07 10:45:09.609476580 -0400
2-
+++ mongo-cxx-driver.spec 2021-09-07 10:48:52.781980206 -0400
1+
--- mongo-cxx-driver.spec.orig 2024-10-02 16:04:01.333784649 -0400
2+
+++ mongo-cxx-driver.spec 2024-12-02 10:57:02.798895580 -0500
33
@@ -1,8 +1,10 @@
44
# for better compatibility with SCL spec file
55
%global pkg_name mongo-cxx-driver
@@ -8,22 +8,23 @@
88
+
99
Name: mongo-cxx-driver
1010
-Version: 3.6.5
11-
+Version: 3.12.0
11+
+Version: 4.1.0
1212
Release: 1%{?dist}
1313
Summary: A C++ Driver for MongoDB
1414
License: ASL 2.0
15-
@@ -10,8 +12,8 @@
15+
@@ -10,9 +12,8 @@
1616
Source0: https://github.com/mongodb/%{pkg_name}/archive/%{name}-r%{version}.tar.gz
1717

1818

1919
-Patch2: mongo-cxx-driver-3.3.1_paths.patch
2020
-Patch3: mongo-cxx-driver-catch-update.patch
21+
-BuildRequires: boost-devel >= 1.49
2122
+BuildRequires: pkgconfig
2223
+BuildRequires: pkgconfig(libutf8proc)
23-
BuildRequires: boost-devel >= 1.49
2424
BuildRequires: openssl-devel
2525
BuildRequires: cmake
26-
@@ -67,8 +67,6 @@
26+
BuildRequires: cyrus-sasl-devel
27+
@@ -67,8 +68,6 @@
2728
%prep
2829
%setup -q -n %{name}-r%{version}
2930

@@ -32,14 +33,13 @@
3233

3334

3435
%build
35-
@@ -79,6 +77,9 @@
36+
@@ -78,7 +77,8 @@
37+
3638
%cmake \
3739
-DCMAKE_BUILD_TYPE=Release \
38-
-DBSONCXX_POLY_USE_BOOST=1 \
39-
+ -DBUILD_VERSION=3.12.0 \
40+
- -DBSONCXX_POLY_USE_BOOST=1 \
41+
+ -DBUILD_VERSION=4.1.0 \
4042
+ -DENABLE_UNINSTALL=OFF \
41-
+ -DENABLE_TESTS=OFF \
4243
.
4344

44-
%changelog
45-
* Mon Aug 09 2021 Honza Horak <[email protected]> - 3.6.5-1
45+
%cmake_build

0 commit comments

Comments
 (0)