Use python3 instead of python2.

This commit is contained in:
si-gui 2020-06-19 16:34:36 +08:00
parent 43b7caa382
commit 59e1d4eb30

View File

@ -2,12 +2,12 @@
Name: mongo-c-driver
Summary: Client library written in C for MongoDB
Version: 1.13.1
Release: 3
Release: 4
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: pkgconfig(snappy) pkgconfig(icu-uc) perl-interpreter python python3-sphinx
BuildRequires: pkgconfig(snappy) pkgconfig(icu-uc) perl-interpreter python3 python3-sphinx
%if %{with_tests}
BuildRequires: mongodb-server openssl
%endif
@ -109,6 +109,9 @@ exit $ret
%doc NEWS
%changelog
* Fri Jun 19 2020 sunguoshuai<sunguoshuai@huawei.com> - 1.13.1-4
- Use python3 instead of python2.
* Fri Feb 21 2020 gulining<gulining1@huawei.com> - 1.13.1-3
- fix build error