From 20c2060ce7dbbb10f23dd418143b94c081d8ec1a Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 8 Dec 2012 03:07:47 -0800 Subject: [PATCH] enable history --- packaging/bash.spec | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/packaging/bash.spec b/packaging/bash.spec index 82f4feb..8a733a2 100644 --- a/packaging/bash.spec +++ b/packaging/bash.spec @@ -17,22 +17,17 @@ interpreter that is compatible with the Bourne shell (sh). Bash incorporates useful features from the Korn shell (ksh) and the C shell (csh). Most sh scripts can be run by bash without modification. -%package doc -Summary: Documentation files for %{name} -Group: Development/Languages -Requires: %{name} = %{version} - -%description doc -This package contains documentation files for %{name}. - -%define pkgdocdir %{_datadir}/doc/%{name}-%{version} %prep %setup -q %build -autoconf -%configure --enable-largefile --without-bash-malloc --disable-nls +%configure --enable-largefile \ + --without-bash-malloc \ + --disable-nls \ + --enable-alias \ + --enable-readline \ + --enable-history # Recycles pids is neccessary. When bash's last fork's pid was X # and new fork's pid is also X, bash has to wait for this same pid. @@ -42,15 +37,6 @@ make "CPPFLAGS=-D_GNU_SOURCE -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' make check %install - -if [ -e autoconf ]; then - # Yuck. We're using autoconf 2.1x. - export PATH=.:$PATH -fi - -# Fix bug #83776 -perl -pi -e 's,bashref\.info,bash.info,' doc/bashref.info - %make_install mkdir -p %{buildroot}/etc -- 2.7.4