SHA256
3
0
forked from pool/bison
OBS User unknown 2006-12-18 23:15:24 +00:00 committed by Git OBS Bridge
commit f1853c2eb4
7 changed files with 389 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

11
bison-2.3-subpipe.diff Normal file
View File

@ -0,0 +1,11 @@
--- lib/subpipe.c
+++ lib/subpipe.c
@@ -130,7 +130,7 @@
for execvp. */
execvp (argv[0], (char **) argv);
- _exit (errno == ENOENT ? 127 : 126);
+ error((errno == ENOENT ? 127 : 126), errno, "cannot run %s", argv[0]);
}
/* Parent. */

3
bison-2.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b10d7e9e354be72aee4e4911cf19dd27b5c527d4e7200857365b5fcdeea0dffb
size 1080319

183
bison.changes Normal file
View File

@ -0,0 +1,183 @@
-------------------------------------------------------------------
Mon Jun 26 15:21:48 CEST 2006 - mmarek@suse.cz
- updated to 2.3
* all generated scanners can be used in non-free programs
(previously, only LALR(1) scanners in C had the exception)
* multiple %union declarations can be used, they will be
concatenated
* unused values with a %destructor are warned about
* %destructors are not run for values in the action that called
YYABORT/YYACCEPT/YYERROR
* unsatisfied number of %expect/%expect-rr conflicts is an error,
not warning
* ability to depend on a minimal bison version via
%require "VERSION"
* no global YYSTYPE and YYLTYPE macros and token names in C++
scanners -- yy::parser::semantic_type, yy::parser::location_type
and yy::parser::token::<token> should be used instead
(can be reverted by '%define "global_tokens_and_yystype" "1"')
-------------------------------------------------------------------
Wed Jan 25 21:30:01 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Dec 21 14:09:04 CET 2005 - mmarek@suse.cz
- push the 2.1 update into factory
-------------------------------------------------------------------
Thu Dec 15 10:18:23 CET 2005 - mmarek@suse.cz
- update to 2.1
-------------------------------------------------------------------
Fri Nov 05 13:44:55 CET 2004 - tcrhak@suse.cz
- fixed wrong variable name (bug #47961, patch output)
-------------------------------------------------------------------
Mon Jan 26 14:17:04 CET 2004 - kukuk@suse.de
- Readd m4 requirement
-------------------------------------------------------------------
Sun Jan 11 09:54:44 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Tue Jan 06 11:37:15 CET 2004 - tcrhak@suse.cz
- update to version 1.875
- use %{_libdir}
- run the testsuite
- applied Michael Matz's patch
- GCC does not support attributes on label in C++
-------------------------------------------------------------------
Fri Sep 12 19:11:55 CEST 2003 - tcrhak@suse.cz
- require m4, issue an error message and return a non-zero
exit code if m4 binary is not found [bug #30653], patch readpipe
-------------------------------------------------------------------
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
-------------------------------------------------------------------
Fri Mar 07 16:47:08 CET 2003 - tcrhak@suse.cz
- Improved fix for the scaner: treat @ and initial comments
the right way
-------------------------------------------------------------------
Fri Feb 7 01:16:20 CET 2003 - ro@suse.de
- added install_info macros
-------------------------------------------------------------------
Sat Nov 9 19:38:34 CET 2002 - aj@suse.de
- Fix one more problem encountered in building gcc with $
(all work done by jh@suse.cz).
-------------------------------------------------------------------
Sat Nov 9 18:16:35 CET 2002 - aj@suse.de
- Fix last patch to handle $ in comments correctly.
-------------------------------------------------------------------
Sat Nov 9 14:53:50 CET 2002 - aj@suse.de
- Fix handling of $ in scan-gram.
-------------------------------------------------------------------
Wed Nov 06 15:36:22 CET 2002 - tcrhak@suse.cz
- update to version 1.75
- removed YYPARSE_RETURN_TYPE: no package uses this and yyparse()
relies on having its return type compatible with int
- do not use C++ kludges fix with the new version
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Tue Jul 23 18:33:57 CEST 2002 - tcrhak@suse.cz
- a stack overflow fix for `C++ kludges': do extend stack
even if location tracking is not enabled
-------------------------------------------------------------------
Wed Jun 26 17:23:22 CEST 2002 - tcrhak@suse.cz
- update to 1.35
-------------------------------------------------------------------
Wed Feb 13 13:50:05 CET 2002 - schwab@suse.de
- Don't use NULL when it may not be defined.
-------------------------------------------------------------------
Fri Feb 8 10:51:48 CET 2002 - tcrhak@suse.cz
- update to version 1.33
-------------------------------------------------------------------
Fri Jan 25 20:05:16 CET 2002 - tcrhak@suse.cz
- update to version 1.32
-------------------------------------------------------------------
Tue Dec 11 16:32:58 CET 2001 - schwab@suse.de
- Fix double free.
-------------------------------------------------------------------
Fri Nov 30 17:14:00 CET 2001 - schwab@suse.de
- Fix use of YYSTACK_USE_ALLOCA in parser skeleton.
-------------------------------------------------------------------
Fri Nov 30 13:55:50 CEST 2001 - tcrhak@suse.cz
- update to 1.30
-------------------------------------------------------------------
Sun Dec 3 16:19:47 CET 2000 - schwab@suse.de
- Fix line numbers in bison.simple.
-------------------------------------------------------------------
Thu Aug 24 14:03:49 CEST 2000 - nadvornik@suse.cz
- update to 1.28
-------------------------------------------------------------------
Fri Jan 28 11:26:45 CET 2000 - schwab@suse.de
- Fix missing declaration
- Specfile cleanup, get rid of Makefile.Linux
- /usr/{info,man} -> /usr/share/{info,man}
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
------------------------------------------------------------------------------
Fri Jun 13 11:28:39 CEST 1997 - rj@suse.de
- yacc emulation removed, because of existing mid-age technology
------------------------------------------------------------------------------
Fri May 16 14:47:52 CEST 1997 - rj@suse.de
- version 1.25
- yacc-functionality emulated thru script

168
bison.spec Normal file
View File

@ -0,0 +1,168 @@
#
# spec file for package bison (Version 2.3)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bison
BuildRequires: gcc-c++
License: GPL
Group: Development/Languages/C and C++
PreReq: %install_info_prereq
Autoreqprov: on
Requires: m4
Version: 2.3
Release: 2
Summary: The GNU Parser Generator
URL: http://www.gnu.org/software/bison/bison.html
Source: bison-%{version}.tar.bz2
Patch1: bison-%{version}-subpipe.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bison is a parser generator similar to yacc(1).
Authors:
--------
David J. MacKenzie <djm@gnu.ai.mit.edu>
Noah Friedman <friedman@ai.mit.edu>
Richard Stallman <rms@ai.mit.edu>
%prep
%setup -q
%patch1
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
--infodir=%{_infodir} --libdir=%{_libdir}
make
make check
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
# FIXME: this should probably go to separate subpackage (see PACKAGING)
%find_lang %{name}-runtime
cat %{name}-runtime.lang >>%{name}.lang
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS README
%{_bindir}/bison
%{_bindir}/yacc
%{_libdir}/liby.a
/usr/share/bison
/usr/share/aclocal/bison-i18n.m4
%doc %{_infodir}/bison.info*.gz
%doc %{_mandir}/man1/bison.1.gz
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%changelog -n bison
* Mon Jun 26 2006 - mmarek@suse.cz
- updated to 2.3
* all generated scanners can be used in non-free programs
(previously, only LALR(1) scanners in C had the exception)
* multiple %%union declarations can be used, they will be
concatenated
* unused values with a %%destructor are warned about
* %%destructors are not run for values in the action that called
YYABORT/YYACCEPT/YYERROR
* unsatisfied number of %%expect/%%expect-rr conflicts is an error,
not warning
* ability to depend on a minimal bison version via
%%require "VERSION"
* no global YYSTYPE and YYLTYPE macros and token names in C++
scanners -- yy::parser::semantic_type, yy::parser::location_type
and yy::parser::token::<token> should be used instead
(can be reverted by '%%define "global_tokens_and_yystype" "1"')
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 21 2005 - mmarek@suse.cz
- push the 2.1 update into factory
* Thu Dec 15 2005 - mmarek@suse.cz
- update to 2.1
* Fri Nov 05 2004 - tcrhak@suse.cz
- fixed wrong variable name (bug #47961, patch output)
* Mon Jan 26 2004 - kukuk@suse.de
- Readd m4 requirement
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Tue Jan 06 2004 - tcrhak@suse.cz
- update to version 1.875
- use %%{_libdir}
- run the testsuite
- applied Michael Matz's patch
- GCC does not support attributes on label in C++
* Fri Sep 12 2003 - tcrhak@suse.cz
- require m4, issue an error message and return a non-zero
exit code if m4 binary is not found [bug #30653], patch readpipe
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Fri Mar 07 2003 - tcrhak@suse.cz
- Improved fix for the scaner: treat @ and initial comments
the right way
* Fri Feb 07 2003 - ro@suse.de
- added install_info macros
* Sat Nov 09 2002 - aj@suse.de
- Fix one more problem encountered in building gcc with $
(all work done by jh@suse.cz).
* Sat Nov 09 2002 - aj@suse.de
- Fix last patch to handle $ in comments correctly.
* Sat Nov 09 2002 - aj@suse.de
- Fix handling of $ in scan-gram.
* Wed Nov 06 2002 - tcrhak@suse.cz
- update to version 1.75
- removed YYPARSE_RETURN_TYPE: no package uses this and yyparse()
relies on having its return type compatible with int
- do not use C++ kludges fix with the new version
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Tue Jul 23 2002 - tcrhak@suse.cz
- a stack overflow fix for `C++ kludges': do extend stack
even if location tracking is not enabled
* Wed Jun 26 2002 - tcrhak@suse.cz
- update to 1.35
* Wed Feb 13 2002 - schwab@suse.de
- Don't use NULL when it may not be defined.
* Fri Feb 08 2002 - tcrhak@suse.cz
- update to version 1.33
* Fri Jan 25 2002 - tcrhak@suse.cz
- update to version 1.32
* Tue Dec 11 2001 - schwab@suse.de
- Fix double free.
* Fri Nov 30 2001 - schwab@suse.de
- Fix use of YYSTACK_USE_ALLOCA in parser skeleton.
* Fri Nov 30 2001 - tcrhak@suse.cz
- update to 1.30
* Sun Dec 03 2000 - schwab@suse.de
- Fix line numbers in bison.simple.
* Thu Aug 24 2000 - nadvornik@suse.cz
- update to 1.28
* Fri Jan 28 2000 - schwab@suse.de
- Fix missing declaration
- Specfile cleanup, get rid of Makefile.Linux
- /usr/{info,man} -> /usr/share/{info,man}
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Fri Jun 13 1997 - rj@suse.de
- yacc emulation removed, because of existing mid-age technology
* Fri May 16 1997 - rj@suse.de
- version 1.25
- yacc-functionality emulated thru script

0
ready Normal file
View File