Pattern matching glitch patch from upstream
See http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00136.html var='[hello' echo "${var//[/}" With bash 4.1 it outputs hello but with 4.2 it outputs [hello This commit fixes it. Signed-off-by: Roman Rakus <rrakus@redhat.com>
This commit is contained in:
parent
26fa72044c
commit
436109044c
10
bash.spec
10
bash.spec
@ -6,7 +6,7 @@
|
|||||||
Version: %{baseversion}%{patchleveltag}
|
Version: %{baseversion}%{patchleveltag}
|
||||||
Name: bash
|
Name: bash
|
||||||
Summary: The GNU Bourne Again shell
|
Summary: The GNU Bourne Again shell
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Url: http://www.gnu.org/software/bash
|
Url: http://www.gnu.org/software/bash
|
||||||
@ -54,6 +54,10 @@ Patch126: bash-4.1-broken_pipe.patch
|
|||||||
# Enable system-wide .bash_logout for login shells
|
# Enable system-wide .bash_logout for login shells
|
||||||
Patch127: bash-4.2-rc2-logout.patch
|
Patch127: bash-4.2-rc2-logout.patch
|
||||||
|
|
||||||
|
# Patch from upstream, some pattern matching glitch
|
||||||
|
# See http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00136.html
|
||||||
|
Patch128: patmatch.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: texinfo bison
|
BuildRequires: texinfo bison
|
||||||
@ -104,6 +108,7 @@ This package contains documentation files for %{name}.
|
|||||||
%patch124 -p1 -b .examples
|
%patch124 -p1 -b .examples
|
||||||
%patch126 -p1 -b .broken_pipe
|
%patch126 -p1 -b .broken_pipe
|
||||||
%patch127 -p1 -b .logout
|
%patch127 -p1 -b .logout
|
||||||
|
%patch128 -p0 -b .patmatch
|
||||||
|
|
||||||
echo %{version} > _distribution
|
echo %{version} > _distribution
|
||||||
echo %{release} > _patchlevel
|
echo %{release} > _patchlevel
|
||||||
@ -282,6 +287,9 @@ fi
|
|||||||
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 16 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-2
|
||||||
|
- pattern matching glitch, patch from upstream
|
||||||
|
|
||||||
* Wed Feb 16 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-1
|
* Wed Feb 16 2011 Roman Rakus <rrakus@redhat.com> - 4.2.0-1
|
||||||
- Release bash-4.2
|
- Release bash-4.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user