add gcc require.

This commit is contained in:
shine_ 2021-06-01 16:06:52 +08:00
parent 8f5cbda84d
commit 6fe8c992b9

View File

@ -2,11 +2,11 @@
Name: mongo-c-driver
Summary: Client library written in C for MongoDB
Version: 1.13.1
Release: 4
Release: 5
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
BuildRequires: cmake >= 3.1 openssl-devel pkgconfig(libsasl2) pkgconfig(zlib)
BuildRequires: cmake >= 3.1 openssl-devel pkgconfig(libsasl2) pkgconfig(zlib) gcc
BuildRequires: pkgconfig(snappy) pkgconfig(icu-uc) perl-interpreter python3 python3-sphinx
%if %{with_tests}
BuildRequires: mongodb-server openssl
@ -109,6 +109,9 @@ exit $ret
%doc NEWS
%changelog
* 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
- Use python3 instead of python2.