Browse Source

provide python2 binary

master
parent
commit
634f06da4b
  1. 4
      python2/python2.spec

4
python2/python2.spec

@ -32,7 +32,7 @@ Class: EVAL
Group: Language
License: GPL
Version: 2.7.15
Release: 20190204
Release: 20190206
# package options
%option with_readline no
@ -181,6 +181,8 @@ PreReq: openssl
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/idle
rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/python/test
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
ln $RPM_BUILD_ROOT%{l_prefix}/bin/python2.[0-9] \
$RPM_BUILD_ROOT%{l_prefix}/bin/python2
%if "%{with_python}" == "yes"
ln $RPM_BUILD_ROOT%{l_prefix}/bin/python2.[0-9] \
$RPM_BUILD_ROOT%{l_prefix}/bin/python

Loading…
Cancel
Save