Jan Matejek 2010-08-26 14:45:53 +00:00 committed by Git OBS Bridge
parent 074122cee8
commit 90f82303ad
2 changed files with 2 additions and 6 deletions

View File

@ -150,11 +150,9 @@ export SUSE_ASNEEDED=0
########################################
export OPT="$RPM_OPT_FLAGS"
########################################
# regenerate (only on > 11.2 because of autoconf version)
# regenerate
########################################
%if %{?suse_version: %{suse_version} > 1120} %{!?suse_version:1}
autoreconf -f -i . # Modules/_ctypes/libffi
%endif
# prevent make from trying to rebuild asdl stuff, which requires existing
# python installation
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h

View File

@ -198,11 +198,9 @@ export SUSE_ASNEEDED=0
########################################
export OPT="$RPM_OPT_FLAGS"
########################################
# regenerate (only on > 11.2 because of autoconf version)
# regenerate
########################################
%if %{?suse_version: %{suse_version} > 1120} %{!?suse_version:1}
autoreconf -f -i . # Modules/_ctypes/libffi
%endif
# prevent make from trying to rebuild asdl stuff, which requires existing
# python installation
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h