Compare commits
No commits in common. "c44c9e7b74c60d0f76132532ef79aefb07f2d24b" and "8f5cbda84ded4a594628f5eb790f01d95ccd70a8" have entirely different histories.
c44c9e7b74
...
8f5cbda84d
BIN
mongo-c-driver-1.13.1.tar.gz
Normal file
BIN
mongo-c-driver-1.13.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,14 +1,13 @@
|
|||||||
%global with_tests 0%{?_with_tests:1}
|
%global with_tests 0%{?_with_tests:1}
|
||||||
Name: mongo-c-driver
|
Name: mongo-c-driver
|
||||||
Summary: Client library written in C for MongoDB
|
Summary: Client library written in C for MongoDB
|
||||||
Version: 1.27.4
|
Version: 1.13.1
|
||||||
Release: 1
|
Release: 4
|
||||||
License: ASL 2.0 and ISC and MIT and zlib
|
License: ASL 2.0 and ISC and MIT and zlib
|
||||||
URL: https://github.com/mongodb/mongo-c-driver
|
URL: https://github.com/mongodb/mongo-c-driver
|
||||||
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/mongodb/mongo-c-driver/releases/download/1.13.1/mongo-c-driver-1.13.1.tar.gz
|
||||||
BuildRequires: cmake >= 3.1 openssl-devel pkgconfig(libsasl2) pkgconfig(zlib) gcc
|
BuildRequires: cmake >= 3.1 openssl-devel pkgconfig(libsasl2) pkgconfig(zlib)
|
||||||
BuildRequires: pkgconfig(snappy) pkgconfig(icu-uc) perl-interpreter python3 python3-sphinx
|
BuildRequires: pkgconfig(snappy) pkgconfig(icu-uc) perl-interpreter python3 python3-sphinx
|
||||||
BuildRequires: chrpath
|
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
BuildRequires: mongodb-server openssl
|
BuildRequires: mongodb-server openssl
|
||||||
%endif
|
%endif
|
||||||
@ -69,18 +68,6 @@ Files for help with mongo-c-driver.
|
|||||||
%delete_la_and_a
|
%delete_la_and_a
|
||||||
find %{buildroot}%{_libdir} -type f -name "*static*" -exec rm -f {} ';'
|
find %{buildroot}%{_libdir} -type f -name "*static*" -exec rm -f {} ';'
|
||||||
|
|
||||||
chrpath -d %{buildroot}%{_bindir}/mongoc-stat
|
|
||||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
|
||||||
echo "/home/abuild/rpmbuild/BUILD/mongo-c-driver-%{version}/src/libmongoc:/home/abuild/rpmbuild/BUILD/mongo-c-driver-%{version}/src/libbson" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}
|
|
||||||
|
|
||||||
%post
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
install -d dbtest
|
install -d dbtest
|
||||||
@ -98,15 +85,12 @@ exit $ret
|
|||||||
%doc COPYING
|
%doc COPYING
|
||||||
%doc THIRD_PARTY_NOTICES
|
%doc THIRD_PARTY_NOTICES
|
||||||
%{_libdir}/libmongoc-1.0.so.*
|
%{_libdir}/libmongoc-1.0.so.*
|
||||||
%config(noreplace) /etc/ld.so.conf.d/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc src/libmongoc/examples
|
%doc src/libmongoc/examples
|
||||||
%doc NEWS
|
|
||||||
%{_includedir}/libmongoc-1.0
|
%{_includedir}/libmongoc-1.0
|
||||||
%{_libdir}/libmongoc-1.0.so
|
%{_libdir}/libmongoc-1.0.so
|
||||||
%{_libdir}/pkgconfig/libmongoc-*.pc
|
%{_libdir}/pkgconfig/libmongoc-*.pc
|
||||||
%{_libdir}/cmake/mongoc-1.0
|
|
||||||
%{_libdir}/cmake/libmongoc-1.0
|
%{_libdir}/cmake/libmongoc-1.0
|
||||||
|
|
||||||
%files -n libbson
|
%files -n libbson
|
||||||
@ -114,57 +98,17 @@ exit $ret
|
|||||||
|
|
||||||
%files -n libbson-devel
|
%files -n libbson-devel
|
||||||
%doc src/libbson/examples
|
%doc src/libbson/examples
|
||||||
%doc src/libbson/NEWS
|
|
||||||
%{_includedir}/libbson-1.0
|
%{_includedir}/libbson-1.0
|
||||||
%{_libdir}/libbson*.so
|
%{_libdir}/libbson*.so
|
||||||
%{_libdir}/cmake/libbson-1.0
|
%{_libdir}/cmake/libbson-1.0
|
||||||
%{_libdir}/cmake/bson-1.0
|
|
||||||
%{_libdir}/pkgconfig/libbson-*.pc
|
%{_libdir}/pkgconfig/libbson-*.pc
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
%doc src/libbson/NEWS
|
||||||
|
%doc NEWS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 11 2024 yaoxin <yao_xin001@hoperun.com> - 1.27.4-1
|
|
||||||
- Update to 1.27.4 for fix CVE-2024-6381 and CVE-2024-6383
|
|
||||||
- libbson Fixes:
|
|
||||||
* Fix build with Visual Studio 2013.
|
|
||||||
* Fix parsing of colon in timezone.
|
|
||||||
* Error on failure to init subdocument in bson_iter_visit_all.
|
|
||||||
* Fix string handling in bson_string_new and bson_string_append.
|
|
||||||
* Fix iteration in bson_strfreev.
|
|
||||||
* Use aligned alloc for bson_array_builder_t
|
|
||||||
* Restore support for Sphinx 1.7.6 for man page build.
|
|
||||||
* Fix conversion warning with GCC 12.
|
|
||||||
* Fixes to some format strings in trace logs.
|
|
||||||
* Allow mongoc_buffer_t to be larger than INT_MAX.
|
|
||||||
* Add bson_array_builder_t.
|
|
||||||
- libmongoc Fixes:
|
|
||||||
* Fix possible crash reading malformed wire protocol message.
|
|
||||||
* Upgraded bundled Zlib from 1.2.3 to 1.3.1
|
|
||||||
* Close leftover connections to removed servers.
|
|
||||||
* Fix possible crash when client is configured with empty password.
|
|
||||||
* Fix possible hang if mongoc_gridfs_file_readv is called with a corrupt chunk with incomplete data.
|
|
||||||
* Fix 32-bit compile with 64-bit time_t
|
|
||||||
* Restore support for Sphinx 1.7.6 for man page build.
|
|
||||||
* Disable shared libmongoc targets if ENABLE_SHARED=OFF
|
|
||||||
* Fix documentation build with Python 3.9.
|
|
||||||
* Fix data race in mongoc_cursor_get_host.
|
|
||||||
* Add back support for BUILD_VERSION CMake option. BUILD_VERSION was unintentionally removed in 1.25.0.
|
|
||||||
* Send recoveryToken in transactions when connected to a load balancer.
|
|
||||||
|
|
||||||
* Tue Jan 16 2024 wangkai <13474090681@163.com> - 1.24.4-2
|
|
||||||
- Fix CVE-2023-0437
|
|
||||||
|
|
||||||
* Tue Oct 17 2023 xu_ping <707078654@qq.com> - 1.24.4-1
|
|
||||||
- Upgrade version to 1.24.4
|
|
||||||
|
|
||||||
* Thu Aug 25 2022 wangkai <wangkai385@h-partners.com> - 1.13.1-6
|
|
||||||
- Remove rpath
|
|
||||||
|
|
||||||
* Web 02 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.13.1-5
|
|
||||||
- Add gcc build require.
|
|
||||||
|
|
||||||
* Fri Jun 19 2020 sunguoshuai<sunguoshuai@huawei.com> - 1.13.1-4
|
* Fri Jun 19 2020 sunguoshuai<sunguoshuai@huawei.com> - 1.13.1-4
|
||||||
- Use python3 instead of python2.
|
- Use python3 instead of python2.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user