Accepting request 185711 from devel:tools:compiler

- run test suite 
- use --program-prefix instead of moving/renaming executables 
  around.

- byacc 20130304
* too many since 2010 to list here.. see 
http://invisible-island.net/byacc/CHANGES (forwarded request 185697 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/185711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byacc?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2013-08-04 05:28:21 +00:00 committed by Git OBS Bridge
commit f8389a443d
3 changed files with 26 additions and 12 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Aug 3 03:46:44 UTC 2013 - crrodriguez@opensuse.org
- run test suite
- use --program-prefix instead of moving/renaming executables
around.
-------------------------------------------------------------------
Sat Aug 3 03:28:21 UTC 2013 - crrodriguez@opensuse.org
- byacc 20130304
* too many since 2010 to list here.. see
http://invisible-island.net/byacc/CHANGES
-------------------------------------------------------------------
Sat Sep 17 21:10:51 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package byacc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@ -17,13 +17,12 @@
#
Name: byacc
Version: 20100216
Release: 1
Version: 20130304
Release: 0
Summary: LALR(1) parser generator
Group: Development/Languages/C and C++
License: SUSE-Public-Domain
Group: Development/Languages/C and C++
Url: http://invisible-island.net/byacc/byacc.html
Source: http://invisible-island.net/datafiles/release/byacc.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -35,23 +34,24 @@ the AT&T Yacc documentation. In contrast to bison, it is written to avoid
dependencies upon a particular compiler.
%prep
%setup
%setup -q
%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
%configure --with-warnings --program-prefix=b
make %{?_smp_mflags}
%install
%makeinstall
mv %{buildroot}%{_bindir}/yacc %{buildroot}%{_bindir}/byacc
mv %{buildroot}%{_mandir}/man1/yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
%check
make check
%files
%defattr(-,root,root,-)
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NO_WARRANTY NOTES README
%doc %{_mandir}/man1/byacc.1*
%{_mandir}/man1/byacc.1*
%{_bindir}/byacc
%changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:805309c131dcd45ae1cb6b385228633244070f11a63688e34d7d14448e204fa0
size 155635
oid sha256:dd8397174e088baf57cf4d344023a34b0758b7bbb8a1dfcdafdc234b8eb57924
size 242146