diff -r 6fd77f414c36 -r 30449282a0c7 bison/bison.spec --- a/bison/bison.spec Thu Aug 02 23:24:05 2012 +0200 +++ b/bison/bison.spec Thu Aug 02 23:26:26 2012 +0200 @@ -36,14 +36,14 @@ Group: CompilerCompiler License: GPL Version: %{V_new} -Release: 20120720 +Release: 20120800 # package options %option with_old no # list of sources -Source0: http://ftp.gnu.org/gnu/bison/bison-%{V_new}.tar.gz -Source1: http://ftp.gnu.org/gnu/bison/bison-%{V_old}.tar.gz +Source0: ftp://ftp.gnu.org/gnu/bison/bison-%{V_new}.tar.gz +Source1: ftp://ftp.gnu.org/gnu/bison/bison-%{V_old}.tar.gz Patch0: bison.patch # build information @@ -64,12 +64,12 @@ %track prog bison:new = { version = %{V_new} - url = http://ftp.gnu.org/gnu/bison/ + url = ftp://ftp.gnu.org/gnu/bison/ regex = bison-(2.\d+(.\d+)*[a-z]?)\.tar\.gz } prog bison:old = { version = %{V_old} - url = http://ftp.gnu.org/gnu/bison/ + url = ftp://ftp.gnu.org/gnu/bison/ regex = bison-(1\.3\d+)\.tar\.gz } @@ -79,6 +79,7 @@ %setup -q -T -D -a 1 %{l_shtool} subst \ -e 's;ac_config_files.*etc/bench\.pl";;' \ + -e 's;\(\$LEX_IS_FLEX\) \(|| as_fn_error\);#\1-CHICK_EGG \2;' \ bison-%{V_new}/configure %{l_shtool} subst \ -e 's;^\( *SUBDIRS = .*\) examples\(.*\)$;\1\2;' \