diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec index f47f1503d4f65dbb512c68432cdfd3ac18bb22fd..1c6a5b75e445052af7df248775a803014e90ae8b 100644 --- a/mongo-c-driver.spec +++ b/mongo-c-driver.spec @@ -2,7 +2,7 @@ Name: mongo-c-driver Summary: Client library written in C for MongoDB Version: 1.27.4 -Release: 1 +Release: 2 License: ASL 2.0 and ISC and MIT and zlib URL: https://github.com/mongodb/mongo-c-driver Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -61,12 +61,11 @@ Files for help with mongo-c-driver. -DENABLE_SSL:STRING=OPENSSL -DENABLE_SASL:STRING=CYRUS -DENABLE_ICU:STRING=ON \ -DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF -DENABLE_CRYPTO_SYSTEM_PROFILE:BOOL=ON \ -DENABLE_MAN_PAGES:BOOL=ON -DENABLE_TESTS:BOOL=ON -DENABLE_EXAMPLES:BOOL=OFF \ - -DENABLE_UNINSTALL:BOOL=OFF . -%make_build + -DENABLE_UNINSTALL:BOOL=OFF +%cmake_build %install -%make_install -%delete_la_and_a +%cmake_install find %{buildroot}%{_libdir} -type f -name "*static*" -exec rm -f {} ';' chrpath -d %{buildroot}%{_bindir}/mongoc-stat @@ -95,7 +94,7 @@ exit $ret %files %{_bindir}/mongoc-stat -%doc COPYING +%license COPYING %doc THIRD_PARTY_NOTICES %{_libdir}/libmongoc-1.0.so.* %config(noreplace) /etc/ld.so.conf.d/* @@ -125,6 +124,9 @@ exit $ret %{_mandir}/man3/* %changelog +* Thu Nov 07 2024 Funda Wang - 1.27.4-2 +- adopt to new cmake macro + * Thu Jul 11 2024 yaoxin - 1.27.4-1 - Update to 1.27.4 for fix CVE-2024-6381 and CVE-2024-6383 - libbson Fixes: diff --git a/mongo-c-driver.yaml b/mongo-c-driver.yaml index 39f5c8805f5b89ade1ff0dea7e39278659e5c5c1..29a5962fb49a49613aeacc232a2ae418e227340e 100644 --- a/mongo-c-driver.yaml +++ b/mongo-c-driver.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: mongodb/mongo-c-driver tag_prefix: ^v -seperator: . +separator: .