c7609a
%define byaccdate 20170709
c7609a
c7609a
Summary: Berkeley Yacc, a parser generator
c7609a
Name: byacc
c7609a
Version: 1.9.%{byaccdate}
c7609a
Release: 4%{?dist}
c7609a
License: Public Domain
c7609a
Group: Development/Tools
c7609a
URL: http://invisible-island.net/byacc/byacc.html
c7609a
Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
c7609a
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c7609a
c7609a
%description
c7609a
This package provides a parser generator utility that reads a grammar
c7609a
specification from a file and generates an LR(1) parser for it.  The
c7609a
parsers consist of a set of LALR(1) parsing tables and a driver
c7609a
routine written in the C programming language.  It has a public domain
c7609a
license which includes the generated C.
c7609a
c7609a
If you are going to do development on your system, you will want to install
c7609a
this package.
c7609a
c7609a
%prep
c7609a
%setup -q -n byacc-%{byaccdate}
c7609a
c7609a
# Revert default stack size back to 10000
c7609a
# https://bugzilla.redhat.com/show_bug.cgi?id=743343
c7609a
find . -type f -name \*.c -print0 |
c7609a
  xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
c7609a
c7609a
%build
c7609a
%configure --disable-dependency-tracking
c7609a
make %{?_smp_mflags}
c7609a
c7609a
%install
c7609a
rm -rf $RPM_BUILD_ROOT
c7609a
make DESTDIR=$RPM_BUILD_ROOT install
c7609a
ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc
c7609a
ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1
c7609a
c7609a
%check
c7609a
echo ====================TESTING=========================
c7609a
make check
c7609a
echo ====================TESTING END=====================
c7609a
c7609a
%clean
c7609a
rm -rf $RPM_BUILD_ROOT
c7609a
c7609a
%files
c7609a
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
c7609a
%defattr(-,root,root,-)
c7609a
%{_bindir}/yacc
c7609a
%{_bindir}/byacc
c7609a
%{_mandir}/man1/yacc.1*
c7609a
%{_mandir}/man1/byacc.1*
c7609a
c7609a
%changelog
c7609a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-4
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c7609a
c7609a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-3
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c7609a
c7609a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20170709-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c7609a
c7609a
* Wed Jul 12 2017 Patsy Franklin <pfrankli@redhat.com> - 1.9.20170709-1
c7609a
- Rebase to 20170709
c7609a
c7609a
* Mon Feb 13 2017 Patsy Franklin <pfrankli@redhat.com> - 1.9.20170201-1
c7609a
- Rebase to 20170201
c7609a
c7609a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20161202-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c7609a
c7609a
* Fri Dec 09 2016 Patsy Franklin <pfrankli@redhat.com> - 1.9.20161202-1
c7609a
- Rebase to 20161202
c7609a
c7609a
* Mon Aug 01 2016 Patsy Franklin <pfrankli@redhat.com> - 1.9.20160606-1
c7609a
- Rebase to 20160606
c7609a
c7609a
* Fri May 20 2016 Patsy Franklin <pfrankli@redhat.com> - 1.9.20160324-1
c7609a
- Rebase to 20160324
c7609a
c7609a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.20150711-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c7609a
c7609a
* Sat Oct 10 2015 Patsy Franklin <pfrankli@redhat.com> - 1.9.20150711-1
c7609a
- Rebase to 20150711
c7609a
c7609a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20141128-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c7609a
c7609a
* Mon Mar 02 2015 Patsy Franklin <pfrankli@redhat.com> - 1.9.20141128-1
c7609a
- Rebase to 20141128
c7609a
c7609a
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20130925-4
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c7609a
c7609a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20130925-3
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c7609a
c7609a
* Mon Dec 02 2013 Patsy Franklin <pfrankli@redhat.com> - 1.9.20130925-2
c7609a
- Update sources file.
c7609a
c7609a
* Mon Dec 02 2013 Patsy Franklin <pfrankli@redhat.com> - 1.9.20130925-1
c7609a
- Rebase to 20130925
c7609a
c7609a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20130304-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c7609a
c7609a
* Wed Mar 20 2013 Petr Machata <pmachata@redhat.com> - 1.9.20130304-1
c7609a
- Rebase to 20130304
c7609a
c7609a
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20120115-3
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c7609a
c7609a
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20120115-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c7609a
c7609a
* Thu Mar 15 2012 Petr Machata <pmachata@redhat.com> - 1.9.20120115-1
c7609a
- Rebase to 20120115
c7609a
- Resolves: #782010
c7609a
c7609a
* Mon Jan  9 2012 Petr Machata <pmachata@redhat.com> - 1.9.20111219-1
c7609a
- Rebase to 20111219
c7609a
  - add "-s" option
c7609a
  - Resolves: #769237
c7609a
- Revert default stack size to 10000
c7609a
  - Related: #743343
c7609a
c7609a
* Thu Sep 29 2011 Petr Machata <pmachata@redhat.com> - 1.9.20110908-1
c7609a
- Rebase to 20110908
c7609a
  - add "-i" option.
c7609a
  - add error-check in reader.c
c7609a
- Resolves: #736627
c7609a
c7609a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20101229-2
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c7609a
c7609a
* Mon Jan  3 2011 Petr Machata <pmachata@redhat.com> - 1.9.20101229-1
c7609a
- Rebase to 20101229
c7609a
- Resolves: #665985
c7609a
c7609a
* Mon Dec  6 2010 Petr Machata <pmachata@redhat.com> - 1.9.20101127-1
c7609a
- Rebase to 20101127
c7609a
- Resolves: #659010
c7609a
c7609a
* Wed Nov 10 2010 Petr Machata <pmachata@redhat.com> - 1.9.20100610-1
c7609a
- Rebase to 20100610
c7609a
- Update the description in accordance with upstream spec template
c7609a
- Resolves: #643598
c7609a
c7609a
* Wed Apr  7 2010 Petr Machata <pmachata@redhat.com> - 1.9.20100216-1
c7609a
- Rebase to 20100216
c7609a
- Drop the buffer overflow patch, upstream implements this
c7609a
- Resolves: #577016
c7609a
c7609a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20070509-6
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c7609a
c7609a
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20070509-5
c7609a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c7609a
c7609a
* Mon Jul 14 2008 Petr Machata <pmachata@redhat.com> - 1.9.20070509-4
c7609a
- Add a patch that fixes ancient buffer overflow
c7609a
- Resolves: #454583
c7609a
c7609a
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9.20070509-2
c7609a
- Autorebuild for GCC 4.3
c7609a
c7609a
* Tue Nov 13 2007 Petr Machata <pmachata@redhat.com> - 1.9.20070509-1
c7609a
- Update to the 20070509 release.
c7609a
- Related: #225632
c7609a
c7609a
* Wed Sep 12 2007 Matthias Saou <http://freshrpms.net/> 1.9.20050813-2
c7609a
- Update summary.
c7609a
- Remove useless doc copying in install section.
c7609a
- Add NOTES and NO_WARRANTY docs.
c7609a
c7609a
* Fri Feb  2 2007 Petr Machata <pmachata@redhat.com> - 1.9.20050813-1
c7609a
- Thomas Dickey's 20050813 version of byacc:
c7609a
  - own build system (linux patch reverted)
c7609a
  - use tmpfile (security patch reverted)
c7609a
- Tidy up the specfile per rpmlint comments
c7609a
c7609a
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2.2
c7609a
- rebuild
c7609a
c7609a
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2.1
c7609a
- bump again for double-long bug on ppc(64)
c7609a
c7609a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2
c7609a
- rebuilt for new gcc4.1 snapshot and glibc changes
c7609a
c7609a
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c7609a
- rebuilt
c7609a
c7609a
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
c7609a
- Copyright: -> License:
c7609a
c7609a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
c7609a
- rebuilt
c7609a
c7609a
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
c7609a
- rebuilt
c7609a
c7609a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
c7609a
- rebuilt
c7609a
c7609a
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
c7609a
- rebuilt
c7609a
c7609a
* Thu Dec 05 2002 Elliot Lee <sopwith@redhat.com> 1.9-23
c7609a
- Rebuild
c7609a
c7609a
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
c7609a
- automated rebuild
c7609a
c7609a
* Thu May 23 2002 Tim Powers <timp@redhat.com>
c7609a
- automated rebuild
c7609a
c7609a
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
c7609a
- automated rebuild
c7609a
c7609a
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
c7609a
- Bump release + rebuild.
c7609a
c7609a
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
c7609a
- security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
c7609a
c7609a
* Fri Sep 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
c7609a
- Update to the version in FreeBSD CVS - it's actively maintained, unlike
c7609a
  the 1993 4BSD version we used to have
c7609a
c7609a
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
c7609a
- automatic rebuild
c7609a
c7609a
* Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
c7609a
- fix perms in tarball
c7609a
c7609a
* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
c7609a
- FHSify
c7609a
- handle RPM_OPT_FLAGS
c7609a
c7609a
* Sat May  6 2000 Bill Nottingham <notting@redhat.com>
c7609a
- fix yacc for ia64
c7609a
c7609a
* Fri Feb  4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
c7609a
- rebuild to compress man pages
c7609a
- fix up manpage symlink
c7609a
c7609a
* Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
c7609a
- man page fixed.
c7609a
c7609a
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
c7609a
- auto rebuild in the new build environment (release 10)
c7609a
c7609a
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
c7609a
- build for glibc 2.1
c7609a
c7609a
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
c7609a
- build root
c7609a
c7609a
* Tue May 05 1998 Prospector System <bugs@redhat.com>
c7609a
- translations modified for de, fr, tr
c7609a
c7609a
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
c7609a
- various spec file cleanups
c7609a
c7609a
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
c7609a
- built against glibc