File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -76,19 +76,16 @@ BuildRequires: libunwind-devel
76
76
%endif
77
77
78
78
# Set dependences for tests.
79
- # Do not install unused Python 3 packages which
80
- # is default since Fedora 31 and CentOS 8.
81
79
%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
86
83
%else
87
84
%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
92
89
%endif
93
90
%endif
94
91
You can’t perform that action at this time.
0 commit comments