diff --git a/bash-4.2-rc2-logout.patch b/bash-4.2-rc2-logout.patch new file mode 100644 index 0000000..2029cad --- /dev/null +++ b/bash-4.2-rc2-logout.patch @@ -0,0 +1,12 @@ +diff -up bash-4.2-rc2/config-top.h.logout bash-4.2-rc2/config-top.h +--- bash-4.2-rc2/config-top.h.logout 2011-02-14 20:29:19.000000000 +0100 ++++ bash-4.2-rc2/config-top.h 2011-02-14 20:29:30.000000000 +0100 +@@ -80,7 +80,7 @@ + /* #define SYS_BASHRC "/etc/bash.bashrc" */ + + /* System-wide .bash_logout for login shells. */ +-/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */ ++#define SYS_BASH_LOGOUT "/etc/bash.bash_logout" + + /* Define this to make non-interactive shells begun with argv[0][0] == '-' + run the startup files when not in posix mode. */ diff --git a/bash.spec b/bash.spec index 27c2c6a..a2fa40e 100644 --- a/bash.spec +++ b/bash.spec @@ -6,7 +6,7 @@ Version: %{baseversion}%{patchleveltag} Name: bash Summary: The GNU Bourne Again shell -Release: 0.1.%{beta_tag}%{?dist} +Release: 0.2.%{beta_tag}%{?dist} Group: System Environment/Shells License: GPLv3+ Url: http://www.gnu.org/software/bash @@ -51,6 +51,9 @@ Patch124: bash-4.1-examples.patch # when output does not succeed due to EPIPE Patch126: bash-4.1-broken_pipe.patch +# Enable system-wide .bash_logout for login shells +Patch127: bash-4.2-rc2-logout.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: texinfo bison @@ -100,6 +103,8 @@ This package contains documentation files for %{name}. %patch123 -p1 -b .nobits %patch124 -p1 -b .examples %patch126 -p1 -b .broken_pipe +%patch127 -p1 -b .logout + echo %{version} > _distribution echo %{release} > _patchlevel @@ -277,6 +282,9 @@ fi #%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %changelog +* Mon Feb 14 2011 Roman Rakus - 4.2.0-0.2.rc2 +- Enable system-wide .bash_logout for login shells + * Wed Feb 09 2011 Roman Rakus - 4.2.0-0.1.rc2 - Update to bash-4.2-rc2