This is a major update to the latest stable version of bison.
A short excerpt of the changelog:
Several deprecated features were removed, such as support for YYFAIL, yystype,
yyltype, YYLEX_PARAM, and YYPARSE_PARAM. The user epilogue is no longer affected
by internal #defines. The recently-introduced dependency on stdio.h when
locations are enabled was removed. Caret errors, as introduced in 2.7, are now
activated by default. The "-Werror" option was enhanced, and categorization of
warnings and errors was modified. Many other changes and various bugfixes were
made.
I also added flex as a build dependency to prevent from errors when running
the testsuite.
Fixes #10403.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
###############################################################################
name = bison
-version = 2.7.1
+version = 3.0.4
release = 1
groups = Development/Tools
summary = GNU Bison is a parser generator.
description
- Bison is a general-purpose parser generator that converts an annotated \
+ Bison is a general-purpose parser generator that converts an annotated
context-free grammar into an LALR(1) or GLR parser for that grammar.
end
source_dl = http://ftp.gnu.org/gnu/bison/
+sources = %{thisapp}.tar.xz
build
requires
+ flex >= 2.5.37
m4 >= 1.4.16
perl
end
mkdir -pv %{BUILDROOT}%{libdir}
cd lib
install -v liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.%{version}
- ln -vsf liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.2
- ln -vsf liby.so.2 %{BUILDROOT}%{libdir}/liby.so
+ ln -vsf liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.3
+ ln -vsf liby.so.3 %{BUILDROOT}%{libdir}/liby.so
end
end