Accepting request 32048 from devel:tools:compiler
Copy from devel:tools:compiler/bison based on submit request 32048 from user rguenther OBS-URL: https://build.opensuse.org/request/show/32048 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bison?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
3414e93e03
commit
b476c0f5bf
131
bison.spec
131
bison.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bison (Version 2.3)
|
||||
# spec file for package bison (Version 2.4.1)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
Name: bison
|
||||
BuildRequires: gcc-c++
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Group: Development/Languages/C and C++
|
||||
PreReq: %install_info_prereq
|
||||
AutoReqProv: on
|
||||
@@ -30,28 +30,25 @@ Obsoletes: bison-64bit
|
||||
%endif
|
||||
#
|
||||
Requires: m4
|
||||
Version: 2.3
|
||||
Release: 127
|
||||
Version: 2.4.1
|
||||
Release: 1
|
||||
Summary: The GNU Parser Generator
|
||||
Url: http://www.gnu.org/software/bison/bison.html
|
||||
Source: bison-%{version}.tar.bz2
|
||||
Patch1: bison-%{version}-subpipe.diff
|
||||
Source2: baselibs.conf
|
||||
Patch1: bison-2.3-subpipe.diff
|
||||
Patch2: bison-2.4.1-28169bab1f6f2fc
|
||||
Patch3: bison-2.4.1-7439c5c0f949408
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Bison is a parser generator similar to yacc(1).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David J. MacKenzie <djm@gnu.org>
|
||||
Noah Friedman <friedman@gnu.org>
|
||||
Richard Stallman <rms@gnu.org>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
# CXXFLAGS is for c++ examples / test cases
|
||||
@@ -62,8 +59,8 @@ CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
|
||||
--mandir=%{_mandir} \
|
||||
--infodir=%{_infodir} \
|
||||
--libdir=%{_libdir}
|
||||
make
|
||||
make check
|
||||
make %{_smp_mflags}
|
||||
make %{_smp_mflags} check
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -86,6 +83,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/aclocal/bison-i18n.m4
|
||||
%doc %{_infodir}/bison.info*.gz
|
||||
%doc %{_mandir}/man1/bison.1.gz
|
||||
%doc %{_mandir}/man1/yacc.1.gz
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
@@ -94,104 +92,3 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%changelog
|
||||
* Wed Dec 10 2008 olh@suse.de
|
||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||
(bnc#437293)
|
||||
* Thu Oct 30 2008 olh@suse.de
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
* Thu Apr 10 2008 ro@suse.de
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
* Wed Jan 24 2007 mmarek@suse.cz
|
||||
- use more $RPM_OPT_FLAGS
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user