---- mongo-cxx-driver.spec.orig	2020-07-21 13:44:37.697202918 -0400
-+++ mongo-cxx-driver.spec	2020-07-21 13:45:16.010026420 -0400
+--- mongo-cxx-driver.spec.orig	2020-08-17 16:22:55.490400655 -0400
++++ mongo-cxx-driver.spec	2020-08-17 16:26:24.490702714 -0400
 @@ -1,6 +1,8 @@
  # for better compatibility with SCL spec file
  %global pkg_name mongo-cxx-driver

 
 %build
 
@@ -77,13 +75,14 @@
 %cmake \
     -DCMAKE_BUILD_TYPE=Release \
     -DBSONCXX_POLY_USE_BOOST=1 \
+    -DENABLE_UNINSTALL=OFF \
     .
 
-make %{?_smp_mflags}
+%cmake_build
 
 
 %install
-%make_install
+%cmake_install
 
 %files
 %doc README.md
@@ -94,7 +93,7 @@
 %{_includedir}/mongocxx/
 %{_libdir}/libmongocxx.so

+%{_libdir}/cmake/*bsoncxx*
 
 %changelog
 * Tue Aug 11 2020 Honza Horak <hhorak@redhat.com> - 3.4.1-4
