Accepting request 97325 from Base:System

add autoconf to buildrequires (forwarded request 97319 from coolo)

OBS-URL: https://build.opensuse.org/request/show/97325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=91
This commit is contained in:
Stephan Kulow 2011-12-21 08:59:24 +00:00 committed by Git OBS Bridge
commit 889ec077aa
2 changed files with 22 additions and 20 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Dec 20 20:01:48 UTC 2011 - coolo@suse.com
- add autoconf as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Mon Dec 19 14:34:41 UTC 2011 - coolo@suse.de
- remove suse_update_config calls - obsolete
-------------------------------------------------------------------
Fri Nov 25 17:08:30 UTC 2011 - werner@suse.de

View File

@ -16,14 +16,13 @@
#
Name: bash
BuildRequires: bison ncurses-devel
BuildRequires: autoconf
BuildRequires: bison
BuildRequires: ncurses-devel
%if %suse_version > 1020
BuildRequires: fdupes
%endif
License: GPL-2.0+
Group: System/Shells
%define bash_vers 4.2
%define rl_vers 6.2
%define extend ""
@ -36,8 +35,10 @@ Suggests: command-not-found
Recommends: bash-doc = %bash_vers
%endif
Version: 4.2
Release: 5
Release: 0
Summary: The GNU Bourne-Again Shell
License: GPL-2.0+
Group: System/Shells
Url: http://www.gnu.org/software/bash/bash.html
Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{bash_vers}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/readline/readline-%{rl_vers}.tar.gz
@ -95,13 +96,12 @@ be a conformant implementation of the IEEE Posix Shell and Tools
specification (IEEE Working Group 1003.2).
%package -n bash-doc
License: GPL-2.0+
Summary: Documentation how to Use the GNU Bourne-Again Shell
Group: Documentation/Man
Provides: bash:%{_infodir}/bash.info.gz
PreReq: %install_info_prereq
Version: 4.2
Release: 5
Release: 0
%if %suse_version > 1120
BuildArch: noarch
%endif
@ -115,7 +115,6 @@ interpreter Bash.
%else
%package -n bash-lang
License: GPL-2.0+
Summary: Languages for package bash
Group: System/Localization
Provides: bash-lang = %{version}
@ -126,11 +125,10 @@ Provides translations to the package bash
%endif
%package -n bash-devel
License: GPL-2.0+
Summary: Include Files mandatory for Development of bash loadable builtins
Group: Development/Languages/C and C++
Version: 4.2
Release: 5
Release: 0
%description -n bash-devel
This package contains the C header files for writing loadable new
@ -138,11 +136,10 @@ builtins for the interpreter Bash. Use -I /usr/include/bash/<version>
on the compilers command line.
%package -n bash-loadables
License: GPL-2.0+
Summary: Loadable bash builtins
Group: System/Shells
Version: 4.2
Release: 5
Release: 0
%description -n bash-loadables
This package contains the examples for the ready-to-dynamic-load
@ -199,12 +196,11 @@ whoami Print out username of current user.
%package -n libreadline6
License: GPL-2.0+
Summary: The Readline Library
Group: System/Libraries
Provides: bash:/%{_lib}/libreadline.so.%{rl_major}
Version: 6.2
Release: 5
Release: 0
%if %suse_version > 1020
Recommends: readline-doc = %{version}
%endif
@ -222,12 +218,11 @@ standard command interpreter) for easy editing of command lines. This
includes history and search functionality.
%package -n readline-devel
License: GPL-2.0+
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Provides: bash:%{_libdir}/libreadline.a
Version: 6.2
Release: 5
Release: 0
Requires: libreadline6 = %{version}
Requires: ncurses-devel
%if %suse_version > 1020
@ -244,13 +239,12 @@ This package contains all necessary include files and libraries needed
to develop applications that require these.
%package -n readline-doc
License: GPL-2.0+
Summary: Documentation how to Use and Program with the Readline Library
Group: System/Libraries
Provides: readline:%{_infodir}/readline.info.gz
PreReq: %install_info_prereq
Version: 6.2
Release: 5
Release: 0
%if %suse_version > 1120
BuildArch: noarch
%endif
@ -316,7 +310,6 @@ done
MACHTYPE=${CPU}-suse-linux
export LANG LC_ALL HOSTTYPE MACHTYPE
pushd ../readline-%{rl_vers}%{extend}
%{?suse_update_config:%{suse_update_config -f support}}
autoconf
cflags ()
{
@ -407,7 +400,6 @@ popd
CC_FOR_BUILD="$CC"
CFLAGS_FOR_BUILD="$CFLAGS"
export CC_FOR_BUILD CFLAGS_FOR_BUILD CFLAGS LDFLAGS CC
%{?suse_update_config:%{suse_update_config -f support}}
autoconf
#
# We have a malloc with our glibc