!13 Upgrade version to 1.24.4

From: @cherry530 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-10-18 03:09:20 +00:00 committed by Gitee
commit 737e892fe1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 10 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global with_tests 0%{?_with_tests:1}
Name: mongo-c-driver
Summary: Client library written in C for MongoDB
Version: 1.13.1
Release: 6
Version: 1.24.4
Release: 1
License: ASL 2.0 and ISC and MIT and zlib
URL: https://github.com/mongodb/mongo-c-driver
Source0: https://github.com/mongodb/mongo-c-driver/releases/download/1.13.1/mongo-c-driver-1.13.1.tar.gz
Source0: https://github.com/mongodb/mongo-c-driver/releases/download/1.24.4/mongo-c-driver-1.24.4.tar.gz
BuildRequires: cmake >= 3.1 openssl-devel pkgconfig(libsasl2) pkgconfig(zlib) gcc
BuildRequires: pkgconfig(snappy) pkgconfig(icu-uc) perl-interpreter python3 python3-sphinx
BuildRequires: chrpath
@ -73,6 +73,8 @@ 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
@ -103,6 +105,7 @@ exit $ret
%{_includedir}/libmongoc-1.0
%{_libdir}/libmongoc-1.0.so
%{_libdir}/pkgconfig/libmongoc-*.pc
%{_libdir}/cmake/mongoc-1.0
%{_libdir}/cmake/libmongoc-1.0
%files -n libbson
@ -113,6 +116,7 @@ exit $ret
%{_includedir}/libbson-1.0
%{_libdir}/libbson*.so
%{_libdir}/cmake/libbson-1.0
%{_libdir}/cmake/bson-1.0
%{_libdir}/pkgconfig/libbson-*.pc
%files help
@ -121,6 +125,9 @@ exit $ret
%doc NEWS
%changelog
* 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