Provide exec-able alternatives to hash, type and ulimit

Resolves: #1297166
This commit is contained in:
Ondrej Oprala 2016-01-11 10:41:21 +01:00
parent 469c21de51
commit 3b09d0d67f

View File

@ -8,7 +8,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
@ -332,7 +332,7 @@ do
done done
# bug #820192, need to add execable alternatives for regular built-ins # bug #820192, need to add execable alternatives for regular built-ins
for ea in alias bg cd command fc fg getopts jobs read umask unalias wait for ea in alias bg cd command fc fg getopts hash jobs read type ulimit umask unalias wait
do do
cat <<EOF > "$RPM_BUILD_ROOT"/%{_bindir}/"$ea" cat <<EOF > "$RPM_BUILD_ROOT"/%{_bindir}/"$ea"
#!/bin/sh #!/bin/sh
@ -439,6 +439,10 @@ end
%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
%changelog %changelog
* Mon Jan 11 2016 Ondrej Oprala <ooprala@redhat.com> - 4.3.42-2
- Provide exec-able alternatives to hash, type and ulimit
Resolves: #1297166
* Tue Aug 18 2015 Ondrej Oprala - 4.3.42-1 * Tue Aug 18 2015 Ondrej Oprala - 4.3.42-1
- Patchlevel 42 - Patchlevel 42