%bcond_with bash_history # build with additional history in /var/log/bash_hist ;)
%bcond_without tests # do not perform "make test"
#
-%define ver 4.0
-%define patchlevel 33
+%define ver 4.1
+%define patchlevel 5
%define rel 1
Summary: GNU Bourne Again Shell (bash)
Summary(fr.UTF-8): Le shell Bourne Again de GNU
License: GPL
Group: Applications/Shells
Source0: http://ftp.gnu.org/gnu/bash/%{name}-%{ver}.tar.gz
-# Source0-md5: a90a1b5a6db4838483f05438e05e8eb9
+# Source0-md5: 9800d8724815fd84994d9be65ab5e7b8
Source1: %{name}rc
Source2: %{name}-skel-.%{name}_logout
Source3: %{name}-skel-.%{name}_profile
Patch9: %{name}-backup_history.patch
Patch10: %{name}-act_like_sh.patch
Patch11: %{name}-elinks_cont.patch
-%patchset_source -f http://ftp.gnu.org/gnu/bash/bash-4.0-patches/bash40-%03g 1 %{patchlevel}
+%patchset_source -f http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-%03g 1 %{patchlevel}
URL: http://www.gnu.org/software/bash/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: ncurses-devel >= 5.2
-BuildRequires: readline-devel >= 6.0
+BuildRequires: readline-devel >= 6.1
BuildRequires: rpmbuild(macros) >= 1.462
BuildRequires: sed >= 4.0
BuildRequires: texinfo
# Require static library only for static build
BuildRequires: glibc-static >= 2.2
BuildRequires: ncurses-static >= 5.2
-BuildRequires: readline-static >= 6.0
+BuildRequires: readline-static >= 6.1
%endif
-Requires: readline >= 6.0
+Requires: readline >= 6.1
Requires: setup >= 2.4.6-2
Obsoletes: bash-doc
Obsoletes: bash2
%lang(ko) %{_mandir}/ko/man1/*
%lang(nl) %{_mandir}/nl/man1/*
%lang(pl) %{_mandir}/pl/man1/*
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%doc %{_datadir}/%{name}/*
%if %{with static}
%files static