Hello community, here is the log from the commit of package bash-completion checked in at Fri Sep 26 17:10:06 CEST 2008. -------- --- bash-completion/bash-completion.changes 2008-05-06 15:38:47.000000000 +0200 +++ /mounts/work_src_done/STABLE/bash-completion/bash-completion.changes 2008-09-26 16:31:31.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Sep 26 16:29:52 CEST 2008 - mkoenig@suse.de + +- fix problem with readonly vars [bnc#383486] +- speed up rpm completion [bnc#402659] +- complete on .spm [bnc#416901] + +------------------------------------------------------------------- New: ---- bash-completion-complete_spm.patch bash-completion-readonly_fix.patch bash-completion-speedup_rpm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash-completion.spec ++++++ --- /var/tmp/diff_new_pack.s17876/_old 2008-09-26 17:09:04.000000000 +0200 +++ /var/tmp/diff_new_pack.s17876/_new 2008-09-26 17:09:04.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package bash-completion (Version 20060301) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -17,7 +24,7 @@ Requires: bash AutoReqProv: on Version: 20060301 -Release: 78 +Release: 108 Summary: Programmable Completion for Bash Url: http://www.caliban.org/bash/index.shtml#completion Source0: http://www.caliban.org/files/bash/bash-completion-%version.tar.bz2 @@ -28,6 +35,9 @@ Patch2: bash-completion-svn_filenames.patch Patch3: bash-completion-mount_dir_fix.patch Patch4: bash-completion-no_tilde_expansion.patch +Patch5: bash-completion-readonly_fix.patch +Patch6: bash-completion-speedup_rpm.patch +Patch7: bash-completion-complete_spm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -48,6 +58,9 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p2 +%patch7 -p1 %build # empty @@ -88,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 26 2008 mkoenig@suse.de +- fix problem with readonly vars [bnc#383486] +- speed up rpm completion [bnc#402659] +- complete on .spm [bnc#416901] * Tue May 06 2008 mkoenig@suse.de - remove default tilde expansion, as this should be configurable by the expand-tilde readline setting, even with bash-completion ++++++ bash-completion-complete_spm.patch ++++++ Index: bash_completion/bash_completion =================================================================== --- bash_completion.orig/bash_completion 2008-09-26 15:36:59.000000000 +0200 +++ bash_completion/bash_completion 2008-09-26 15:54:34.000000000 +0200 @@ -1987,7 +1987,7 @@ _rpm() --eval --pipe --queryformat --repackage --nosuggests \ --nodigest --nosignature' -- $cur ) ) else - _filedir 'rpm' + _filedir '@(rpm|spm)' fi ;; esac ++++++ bash-completion-readonly_fix.patch ++++++ Index: bash_completion/bash_completion =================================================================== --- bash_completion.orig/bash_completion 2008-09-26 15:31:50.000000000 +0200 +++ bash_completion/bash_completion 2008-09-26 15:32:59.000000000 +0200 @@ -32,10 +32,9 @@ { # These declarations must go within braces in order to be able to silence # readonly variable errors. - BASH_COMPLETION="${BASH_COMPLETION:-/etc/bash_completion}" - BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}" + readonly BASH_COMPLETION="${BASH_COMPLETION:-/etc/bash_completion}" + readonly BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}" } 2>/dev/null || : -readonly BASH_COMPLETION BASH_COMPLETION_DIR # Set a couple of useful vars # ++++++ bash-completion-speedup_rpm.patch ++++++ --- /etc/bash_completion.orig 2008-06-07 16:03:42.000000000 +0200 +++ /etc/bash_completion 2008-06-23 08:43:18.000000000 +0200 @@ -1721,6 +1721,9 @@ COMPREPLY=( $( sed -ne \ 's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\.rpm$|\1|p' \ /var/log/rpmpkgs ) ) + elif command -v rpmqpack >/dev/null; then + # SUSE's rpmqpack is faster than rpm -qa + COMPREPLY=( $(rpmqpack | grep "^$cur") ) else nodig="" nosig="" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de