SERVER-54057 Don't depend on python2 on RHEL 8 or Fedora >= 30

This commit is contained in:
Ryan Egesdahl 2021-02-15 20:36:42 -08:00 committed by Evergreen Agent
parent 7425114969
commit 2772369947
4 changed files with 16 additions and 0 deletions

View File

@ -28,8 +28,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%define python_pkg python
%else
%define timezone_pkg tzdata
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python_pkg python3
%else
%define python_pkg python2
%endif
%endif
%description
MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDBs native replication and automated failover enable enterprise-grade reliability and operational flexibility.

View File

@ -29,8 +29,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%define python_pkg python
%else
%define timezone_pkg tzdata
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python_pkg python3
%else
%define python_pkg python2
%endif
%endif
%description
MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDBs native replication and automated failover enable enterprise-grade reliability and operational flexibility.

View File

@ -27,8 +27,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%define python_pkg python
%else
%define timezone_pkg tzdata
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python_pkg python3
%else
%define python_pkg python2
%endif
%endif
%description
MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDBs native replication and automated failover enable enterprise-grade reliability and operational flexibility.

View File

@ -29,8 +29,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%define python_pkg python
%else
%define timezone_pkg tzdata
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
%define python_pkg python3
%else
%define python_pkg python2
%endif
%endif
%description
MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDBs native replication and automated failover enable enterprise-grade reliability and operational flexibility.