Accepting request 617138 from home:AndreasStieger:branches:devel:tools:compiler

bison 3.0.5

OBS-URL: https://build.opensuse.org/request/show/617138
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=50
This commit is contained in:
Martin Pluskal
2018-06-18 07:12:29 +00:00
committed by Git OBS Bridge
parent 6916ff5c53
commit e097fbca20
7 changed files with 28 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package bison
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,24 @@
Name: bison
Version: 3.0.4
Version: 3.0.5
Release: 0
Summary: The GNU Parser Generator
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Development/Languages/C and C++
Url: http://www.gnu.org/software/bison/bison.html
URL: http://www.gnu.org/software/bison/bison.html
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
Patch1: gcc7-fix.patch
BuildRequires: autoconf
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: xz
Requires: m4
Requires(post): %{install_info_prereq}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bison is a parser generator similar to yacc(1).
@@ -45,7 +43,6 @@ Bison is a parser generator similar to yacc(1).
%prep
%setup -q
%patch1
%build
%configure --disable-silent-rules \
@@ -59,11 +56,10 @@ make %{?_smp_mflags}
make %{?_smp_mflags} check
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
%find_lang %{name} --all-name
%files
%defattr(-,root,root)
%{_docdir}/%{name}
%dir %{_datadir}/aclocal
%{_bindir}/bison
@@ -73,11 +69,10 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/bison-i18n.m4
%{_infodir}/bison.info*.gz
%{_mandir}/man1/bison.1.gz
%{_mandir}/man1/yacc.1.gz
%{_mandir}/man1/bison.1%{?ext_man}
%{_mandir}/man1/yacc.1%{?ext_man}
%files lang -f %{name}.lang
%defattr(-,root,root)
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz