Accepting request 282491 from home:posophe:branches:devel:tools:compiler
Update OBS-URL: https://build.opensuse.org/request/show/282491 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=35
This commit is contained in:
committed by
Git OBS Bridge
parent
ee0dfb54a1
commit
57a304ba33
21
bison.spec
21
bison.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bison
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -25,7 +25,7 @@ Requires(pre): %install_info_prereq
|
||||
%ifarch ppc64
|
||||
Obsoletes: bison-64bit
|
||||
%endif
|
||||
Version: 3.0.2
|
||||
Version: 3.0.3
|
||||
Release: 0
|
||||
Summary: The GNU Parser Generator
|
||||
License: GPL-3.0+
|
||||
@@ -34,16 +34,19 @@ Url: http://www.gnu.org/software/bison/bison.html
|
||||
Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
|
||||
Source2: baselibs.conf
|
||||
Requires: m4
|
||||
Recommends: %{name}-lang
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Bison is a parser generator similar to yacc(1).
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules --disable-rpath \
|
||||
%configure --disable-silent-rules --disable-rpath --docdir=%{_docdir}/%{name} \
|
||||
gl_cv_func_printf_directive_n=yes \
|
||||
gl_cv_func_printf_infinite_long_double=yes
|
||||
make %{?_smp_mflags}
|
||||
@@ -55,9 +58,9 @@ make %{?_smp_mflags} check
|
||||
%makeinstall
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING ChangeLog NEWS README
|
||||
%{_docdir}/%{name}
|
||||
%dir %{_datadir}/aclocal
|
||||
%{_bindir}/bison
|
||||
%{_bindir}/yacc
|
||||
@@ -65,9 +68,11 @@ make %{?_smp_mflags} check
|
||||
%{_datadir}/bison
|
||||
%dir %{_datadir}/aclocal
|
||||
%{_datadir}/aclocal/bison-i18n.m4
|
||||
%doc %{_infodir}/bison.info*.gz
|
||||
%doc %{_mandir}/man1/bison.1.gz
|
||||
%doc %{_mandir}/man1/yacc.1.gz
|
||||
%{_infodir}/bison.info*.gz
|
||||
%{_mandir}/man1/bison.1.gz
|
||||
%{_mandir}/man1/yacc.1.gz
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
Reference in New Issue
Block a user