Summary(pl): Programowalne uzupe³nianie nazw dla basha
Name: bash-completion
Version: 20050121
-Release: 1
+Release: 2
License: GPL
Group: Applications/Shells
Source0: http://www.caliban.org/files/bash/%{name}-%{version}.tar.bz2
# Source0-md5: fafeed562b01a8dee079eb851579f2d2
Source1: %{name}.cron
Patch0: %{name}-FHS.patch
+Patch1: %{name}-ifcfg.patch
URL: http://www.caliban.org/bash/
Requires(triggerpostun): sed >= 4.0
BuildArch: noarch
%prep
%setup -q -n bash_completion
%patch0 -p1
+%patch1 -p2
%install
rm -rf $RPM_BUILD_ROOT
[ -z "$BASH_VERSION" ] && return
# check for correct version of bash
-bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
+bash=${BASH_VERSION%%.*}; bmajor=${bash%%.*}; bminor=${bash#*.}
if [ "$bmajor" -eq 2 -a "$bminor" '>' 04 ] || [ "$bmajor" -gt 2 ]; then
if [ "$PS1" ]; then # interactive shell
# Source completion code