Accepting request 288015 from home:pluskalm:branches:devel:tools:compiler

- Cleanup spec file with spec-cleaner
- Add gpg signature
- Update to 20141128
        * lr0.c: coverity #39181: memory leak
- Changes in 2014-11-13
        * descrip.mms: support for openvms

OBS-URL: https://build.opensuse.org/request/show/288015
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=15
This commit is contained in:
Guido Berhoerster
2015-02-27 10:11:15 +00:00
committed by Git OBS Bridge
parent c863430402
commit fcaacb33e3
6 changed files with 747 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package byacc
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@@ -18,13 +18,15 @@
Name: byacc
Version: 20141006
Version: 20141128
Release: 0
Summary: LALR(1) parser generator
License: SUSE-Public-Domain
Group: Development/Languages/C and C++
Url: http://invisible-island.net/byacc/byacc.html
Source: ftp://invisible-island.net/byacc/byacc-%{version}.tgz
Source0: ftp://invisible-island.net/byacc/byacc-%{version}.tgz
Source1: ftp://invisible-island.net/byacc/byacc-%{version}.tgz.asc
Source2: %{name}.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -39,14 +41,17 @@ dependencies upon a particular compiler.
%build
# without --with-warnings several functions will not be marked with gcc's
# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall
%configure --with-warnings --program-prefix=b
%configure \
--with-warnings \
--program-prefix=b
make %{?_smp_mflags}
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%check
make check
make %{?_smp_mflags} check
%files
%defattr(-,root,root,-)