Skip to content

Commit 03f9c06

Browse files
committed
rpm: switch to using python 3
Part of #5562
1 parent c23d96a commit 03f9c06

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

rpm/tarantool.spec

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,16 @@ BuildRequires: libunwind-devel
7676
%endif
7777

7878
# Set dependences for tests.
79-
# Do not install unused Python 3 packages which
80-
# is default since Fedora 31 and CentOS 8.
8179
%if (0%{?fedora} >= 31 || 0%{?rhel} >= 8)
82-
BuildRequires: python2 >= 2.7
83-
BuildRequires: python2-six >= 1.9.0
84-
BuildRequires: python2-gevent >= 1.0
85-
BuildRequires: python2-yaml >= 3.0.9
80+
BuildRequires: python3-six
81+
BuildRequires: python3-gevent
82+
BuildRequires: python3-yaml
8683
%else
8784
%if (0%{?rhel} != 6 || 0%{?sle_version} >= 1500)
88-
BuildRequires: python >= 2.7
89-
BuildRequires: python-six >= 1.9.0
90-
BuildRequires: python-gevent >= 1.0
91-
BuildRequires: python-yaml >= 3.0.9
85+
BuildRequires: python3
86+
BuildRequires: python-six
87+
BuildRequires: python-gevent
88+
BuildRequires: python-yaml
9289
%endif
9390
%endif
9491

0 commit comments

Comments
 (0)