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