Blame SPECS/byacc.spec

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