Skip to content

Commit 1bb451c

Browse files
authored
RPM packaging updates (#1334)
1 parent c75a10e commit 1bb451c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.evergreen/spec.patch

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Release: 1%{?dist}
1313
Summary: A C++ Driver for MongoDB
1414
License: ASL 2.0
15-
@@ -10,9 +12,8 @@
15+
@@ -10,14 +12,13 @@ URL: https://github.com/mongodb/mongo-cxx-driver/wiki
1616
Source0: https://github.com/mongodb/%{pkg_name}/archive/%{name}-r%{version}.tar.gz
1717

1818

@@ -24,7 +24,14 @@
2424
BuildRequires: openssl-devel
2525
BuildRequires: cmake
2626
BuildRequires: cyrus-sasl-devel
27-
@@ -67,8 +68,6 @@
27+
-BuildRequires: libbson-devel
28+
-BuildRequires: mongo-c-driver-devel
29+
+BuildRequires: libbson-devel >= 1.30.0
30+
+BuildRequires: mongo-c-driver-devel >= 1.30.0
31+
BuildRequires: snappy-devel
32+
BuildRequires: gcc-c++
33+
BuildRequires: libzstd-devel
34+
@@ -67,8 +68,6 @@ This package provides the C++ header files for library for working with BSON.
2835
%prep
2936
%setup -q -n %{name}-r%{version}
3037

@@ -33,7 +40,7 @@
3340

3441

3542
%build
36-
@@ -78,7 +77,8 @@
43+
@@ -78,7 +77,8 @@ export LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
3744

3845
%cmake \
3946
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)