Skip to content

Commit 5ffa8a9

Browse files
committed
rpm: update python version in requirements
Part of #5562
1 parent 754aa10 commit 5ffa8a9

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

rpm/tarantool.spec

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,10 @@ 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.
81-
%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
86-
%else
87-
%if (0%{?rhel} != 6 || 0%{?sle_version} >= 1500)
88-
BuildRequires: python >= 2.7
79+
BuildRequires: python >= 3.7
8980
BuildRequires: python-six >= 1.9.0
9081
BuildRequires: python-gevent >= 1.0
9182
BuildRequires: python-yaml >= 3.0.9
92-
%endif
93-
%endif
9483

9584
Name: tarantool
9685
# ${major}.${major}.${minor}.${patch}, e.g. 1.6.8.175

0 commit comments

Comments
 (0)