diff --git a/.cvsignore b/.cvsignore index cb165ed..83913c4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-1.35.tar.bz2 +bison-1.875.tar.bz2 diff --git a/bison.spec b/bison.spec index 772669d..01fad93 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,16 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 1.35 -Release: 6 +Version: 1.875 +Release: 5 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 Url: http://www.gnu.org/software/bison/bison.html -Patch: bison-1.30-man.patch Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root +Patch1: bison-1.875-unusedlabel.patch + %description Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to @@ -27,7 +28,8 @@ Bison. %prep %setup -q -%patch -p1 -b .man + +%patch1 -p1 -b .unusedlabel %build %configure @@ -37,6 +39,8 @@ make rm -rf $RPM_BUILD_ROOT %makeinstall +# Remove unpackaged files. +rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %{name} @@ -53,15 +57,31 @@ fi %files -f %{name}.lang %defattr(-,root,root) -%{_mandir}/*/* +%{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* -%{_bindir}/* +%{_bindir}/bison +%{_libdir}/liby.a %clean rm -rf $RPM_BUILD_ROOT %changelog +* Wed Sep 24 2003 Roland McGrath 1.875-5 +- remove problematic __attribute__ use for label (bug #105034) + +* Fri Aug 1 2003 Havoc Pennington 1.875-3 +- put #ifndef __cplusplus around attribute(unused) on goto label in yacc.c + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Sat Mar 22 2003 Roland McGrath 1.875-2 +- update specs for new files installed by new version + +* Wed Mar 19 2003 Roland McGrath 1.875-1 +- new upstream version 1.875 (bug #83184) + * Wed Jan 22 2003 Tim Powers - rebuilt @@ -127,13 +147,13 @@ rm -rf $RPM_BUILD_ROOT - rebuild for 7.0 - put man pages and info files to correct place -* Thu Feb 03 2000 Preston Brown +* Thu Feb 03 2000 Preston Brown - rebuild to gzip man page. * Fri Jul 16 1999 Jeff Johnson - update to 1.28. -* Sun Mar 21 1999 Cristian Gafton +* Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Mon Mar 8 1999 Jeff Johnson @@ -158,4 +178,3 @@ rm -rf $RPM_BUILD_ROOT * Mon Jun 02 1997 Erik Troan - built against glibc - diff --git a/sources b/sources index d87389e..8a827dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -87de58ab8f2aa07d18b6e77e3e665850 bison-1.35.tar.bz2 +b7f8027b249ebd4dd0cc948943a71af0 bison-1.875.tar.bz2