diff --git a/bison-3.0.2.tar.xz b/bison-3.0.2.tar.xz deleted file mode 100644 index 26011ed..0000000 --- a/bison-3.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c -size 1927296 diff --git a/bison-3.0.3.tar.xz b/bison-3.0.3.tar.xz new file mode 100644 index 0000000..35c55cb --- /dev/null +++ b/bison-3.0.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5940efbdd6b5d80e55ec16a01d2322e2892da21863391049b9b692570649177c +size 1971372 diff --git a/bison.changes b/bison.changes index c3914d5..dde8f7e 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Jan 22 20:06:50 UTC 2015 - p.drouand@gmail.com + +- Update to version 3.0.3 +Bug fixes + * C++ with Variants (lalr1.cc) + Problems with %destructor and '%define parse.assert' have been fixed. + * Named %union support (yacc.c, glr.c) + Bison 3.0 introduced a regression on named %union such as + %union foo { int ival; }; + The possibility to use a name was introduced "for Yacc compatibility". + It is however not required by POSIX Yacc, and its usefulness is not clear. + * %define api.value.type union with %defines (yacc.c, glr.c) + The C parsers were broken when %defines was used together with "%define + api.value.type union". + * Redeclarations are reported in proper order +Documentation + * Bison now installs various files in its docdir (which defaults to + '/usr/local/share/doc/bison'), including the three fully blown examples + extracted from the documentation: + - rpcalc + Reverse polish calculator, a simple introductory example. + - mfcalc + Multi-function Calc, a calculator with memory and functions and located + error messages. + - calc++ + a calculator in C++ using variant support and token constructors. +- Split out translation files +- Pass "--docdir=%{_docdir}/%{name}" and do not perform %doc anymore + + ------------------------------------------------------------------- Wed Dec 24 11:39:10 UTC 2014 - p.drouand@gmail.com diff --git a/bison.spec b/bison.spec index 75189ae..a633f15 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ # # spec file for package bison # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ Requires(pre): %install_info_prereq %ifarch ppc64 Obsoletes: bison-64bit %endif -Version: 3.0.2 +Version: 3.0.3 Release: 0 Summary: The GNU Parser Generator License: GPL-3.0+ @@ -34,18 +34,23 @@ Url: http://www.gnu.org/software/bison/bison.html Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz Source2: baselibs.conf Requires: m4 +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bison is a parser generator similar to yacc(1). +%lang_package + %prep %setup -q %build -%configure --disable-silent-rules --disable-rpath \ - gl_cv_func_printf_directive_n=yes \ - gl_cv_func_printf_infinite_long_double=yes +%configure --disable-silent-rules \ + --disable-rpath \ + --docdir=%{_docdir}/%{name} \ + gl_cv_func_printf_directive_n=yes \ + gl_cv_func_printf_infinite_long_double=yes make %{?_smp_mflags} %check @@ -55,9 +60,9 @@ make %{?_smp_mflags} check %makeinstall %find_lang %{name} --all-name -%files -f %{name}.lang +%files %defattr(-,root,root) -%doc COPYING ChangeLog NEWS README +%{_docdir}/%{name} %dir %{_datadir}/aclocal %{_bindir}/bison %{_bindir}/yacc @@ -65,9 +70,11 @@ make %{?_smp_mflags} check %{_datadir}/bison %dir %{_datadir}/aclocal %{_datadir}/aclocal/bison-i18n.m4 -%doc %{_infodir}/bison.info*.gz -%doc %{_mandir}/man1/bison.1.gz -%doc %{_mandir}/man1/yacc.1.gz +%{_infodir}/bison.info*.gz +%{_mandir}/man1/bison.1.gz +%{_mandir}/man1/yacc.1.gz + +%files lang -f %{name}.lang %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz