Accepting request 705876 from home:pluskalm:branches:devel:tools:compiler

- Update to version 3.4.1
  * Multiple changes, mostly bugfixes - see provided NEWS for
    details

OBS-URL: https://build.opensuse.org/request/show/705876
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=68
This commit is contained in:
Martin Pluskal
2019-05-28 10:43:48 +00:00
committed by Git OBS Bridge
parent 1740e46b9d
commit 9b3b984d2b
6 changed files with 27 additions and 20 deletions

View File

@@ -17,7 +17,7 @@
Name: bison
Version: 3.3.2
Version: 3.4.1
Release: 0
Summary: The GNU Parser Generator
License: GPL-3.0-or-later
@@ -55,7 +55,7 @@ Bison is a parser generator similar to yacc(1).
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
# non-parallel profiling for reproducible results https://bugzilla.opensuse.org/show_bug.cgi?id=1040589
make CFLAGS="%{optflags}" check
make --jobs=1 CFLAGS="%{optflags}" check
make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else
@@ -63,12 +63,20 @@ Bison is a parser generator similar to yacc(1).
%endif
%check
make %{?_smp_mflags} check
make --jobs=1 check
%install
%make_install
%find_lang %{name} --all-name
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files lang -f %{name}.lang
%files
%{_docdir}/%{name}
%dir %{_datadir}/aclocal
@@ -82,12 +90,4 @@ make %{?_smp_mflags} check
%{_mandir}/man1/bison.1%{?ext_man}
%{_mandir}/man1/yacc.1%{?ext_man}
%files lang -f %{name}.lang
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%changelog