Stop using Python 2 at build time

Python 2 is End of Life.

See https://fedoraproject.org/wiki/Changes/RetirePython2
This commit is contained in:
Miro Hrončok 2020-01-21 15:21:22 +01:00 committed by churchyard
parent 891cef7d9b
commit 09eade5353

View File

@ -167,7 +167,7 @@ BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, sharutils
BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man
BuildRequires: systemtap-sdt-devel >= 1.3 BuildRequires: systemtap-sdt-devel >= 1.3
BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1 BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
BuildRequires: python2-devel, python3-devel, /usr/bin/python BuildRequires: python3-devel, /usr/bin/python
BuildRequires: gcc, gcc-c++ BuildRequires: gcc, gcc-c++
%if %{build_go} %if %{build_go}
BuildRequires: hostname, procps BuildRequires: hostname, procps