Rebase to 3.4.1 (#1631912)

This commit is contained in:
Arjun Shankar 2019-06-21 16:24:18 +02:00
parent 4c9e2c1d03
commit 3e95385379
3 changed files with 15 additions and 23 deletions

18
.gitignore vendored
View File

@ -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-*/

View File

@ -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 <arjun@redhat.com> - 3.4.1-1
- Update to bison 3.4.1 (#1631912)
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (bison-3.0.5.tar.xz) = 00b448db8abe91b07e32ff5273c6617bc1350d806f92073a9472f4c2f0de5d22c152795674171b74f2eb9eff8d36f8173b82dacb215601bb071ae39404d4a8a2
SHA512 (bison-3.4.1.tar.xz) = 544d66bf11c55a69fad613bea429667c587fb0c3774f6894df81cb3c7931a554f79e6b71d6a6e9109e164e524c632127c967877f71328cd0b69a683d29ed128d