From 3e95385379a0221754a422a49e6afa44a612854d Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Fri, 21 Jun 2019 16:24:18 +0200 Subject: [PATCH] Rebase to 3.4.1 (#1631912) --- .gitignore | 18 ++++++------------ bison.spec | 18 ++++++++---------- sources | 2 +- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index e800ec3..9c0b9aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,6 @@ -bison-2.4.tar.bz2 -bison-2.4.1.tar.bz2 -bison-2.4.2.tar.bz2 -bison-2.4.3.tar.bz2 -bison-*/ -/bison-2.5.tar.bz2 -/bison-2.6.1.tar.xz -/bison-2.6.4.tar.xz -/bison-2.7.tar.xz -/bison-3.0.2.tar.xz -/bison-3.0.4.tar.xz -/bison-3.0.5.tar.xz +# Release tarballs. +/bison-*.tar.[bgx]z* +# Generated (source) RPMs. +/*.rpm +# Expanded source trees. +/bison-*/ diff --git a/bison.spec b/bison.spec index 14b8976..8c3c1e7 100644 --- a/bison.spec +++ b/bison.spec @@ -1,13 +1,10 @@ Summary: A GNU general-purpose parser generator Name: bison -Version: 3.0.5 -Release: 2%{?dist} +Version: 3.4.1 +Release: 1%{?dist} License: GPLv3+ Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz -# Fix errors caused by references to obsolete libio.h -Patch0: bison-3.0.5-gnulib-fseterr.patch - # testsuite dependency BuildRequires: gcc-c++ BuildRequires: autoconf @@ -72,7 +69,6 @@ Bison manual section for more information. %prep %setup -q -%patch0 -p1 %build %configure @@ -90,18 +86,17 @@ rm -rf $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* -rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/calc++/* -rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/mfcalc/* -rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/rpcalc/* +rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/* %find_lang %{name} %find_lang %{name}-runtime +%find_lang %{name}-gnulib gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* # The distribution contains also source files. These are used by m4 # when the target parser file is generated. -%files -f %{name}.lang +%files -f %{name}.lang -f %{name}-gnulib.lang %doc AUTHORS ChangeLog NEWS README THANKS TODO COPYING %{_mandir}/*/bison* %{_datadir}/bison @@ -118,6 +113,9 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %{_libdir}/liby.a %changelog +* Fri Jun 21 2019 Arjun Shankar - 3.4.1-1 +- Update to bison 3.4.1 (#1631912) + * Thu Jan 31 2019 Fedora Release Engineering - 3.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index e8b183f..fa851cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bison-3.0.5.tar.xz) = 00b448db8abe91b07e32ff5273c6617bc1350d806f92073a9472f4c2f0de5d22c152795674171b74f2eb9eff8d36f8173b82dacb215601bb071ae39404d4a8a2 +SHA512 (bison-3.4.1.tar.xz) = 544d66bf11c55a69fad613bea429667c587fb0c3774f6894df81cb3c7931a554f79e6b71d6a6e9109e164e524c632127c967877f71328cd0b69a683d29ed128d