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