Commit 01391781 authored by Denis Brækhus's avatar Denis Brækhus Committed by Denis Brækhus

Get rid of python el6 hack

parent be674840
......@@ -92,13 +92,6 @@ cp %{SOURCE6} %{SOURCE9} %{SOURCE10} %{SOURCE11} .
%build
%if 0%{?rhel} == 6
export CFLAGS="$CFLAGS -O2 -g -Wp,-D_FORTIFY_SOURCE=0"
# Fugly dependency override as EL6 provides a modified python 2.6 which works
sed -e "s/checking whether \$PYTHON version is >= 2.7/checking whether \$PYTHON version is >= 2.6.6/g" \
-e "s/minver = list(map(int, '2.7'/minver = list(map(int, '2.6.6'/g" \
-e "s/checking for a Python interpreter with version >= 2.7/checking for a Python interpreter with version >= 2.6.6/g" \
-e "s/Python >= 2.7 is required./Python >= 2.6.6 is required./g" \
-i configure
%endif
%configure --localstatedir=/var/lib --without-rst2html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment