Hello community, here is the log from the commit of package bash-completion checked in at Fri Mar 9 01:54:32 CET 2007. -------- --- bash-completion/bash-completion.changes 2007-02-15 11:56:56.000000000 +0100 +++ /mounts/work_src_done/NOARCH/bash-completion/bash-completion.changes 2007-03-08 12:51:53.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Mar 8 12:51:15 CET 2007 - mkoenig@suse.de + +- enhance rpm completion [#242123] + +------------------------------------------------------------------- New: ---- bash_completion-rpm_install_complete.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash-completion.spec ++++++ --- /var/tmp/diff_new_pack.h10840/_old 2007-03-09 01:52:36.000000000 +0100 +++ /var/tmp/diff_new_pack.h10840/_new 2007-03-09 01:52:37.000000000 +0100 @@ -16,12 +16,13 @@ Requires: bash Autoreqprov: on Version: 20060301 -Release: 4 +Release: 6 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 %define gitcompletion_version 20061106 Source1: git-completion-%{gitcompletion_version}.tar.bz2 +Patch0: bash_completion-rpm_install_complete.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -37,6 +38,7 @@ %prep %setup -n bash_completion -b 1 +%patch0 -p1 %install # /etc/bash_completion.d/ is now "owned" by bash: @@ -73,7 +75,9 @@ %clean rm -rf $RPM_BUILD_ROOT -%changelog -n bash-completion +%changelog +* Thu Mar 08 2007 - mkoenig@suse.de +- enhance rpm completion [#242123] * Thu Feb 15 2007 - mkoenig@suse.de - add git-completion - add %%clean target to specfile ++++++ bash_completion-rpm_install_complete.patch ++++++ Index: bash_completion/bash_completion =================================================================== --- bash_completion.orig/bash_completion +++ bash_completion/bash_completion @@ -1860,21 +1860,6 @@ _rpm() esac case "${COMP_WORDS[1]}" in - -@([iFU]*|-install|-freshen|-upgrade)) - if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '--percent --force --test \ - --replacepkgs --replacefiles --root --excludedocs \ - --includedocs --noscripts --rcfile --ignorearch \ - --dbpath --prefix --ignoreos --nodeps --allfiles \ - --ftpproxy --ftpport --justdb --httpproxy --httpport \ - --noorder --relocate --badreloc --notriggers \ - --excludepath --ignoresize --oldpackage --define \ - --eval --pipe --queryformat --repackage --nosuggests \ - --nodigest --nosignature' -- $cur ) ) - else - _filedir 'rpm' - fi - ;; -@(e|-erase)) if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--allmatches --noscripts \ @@ -2007,6 +1992,21 @@ _rpm() _filedir fi ;; + -@(*[iFU]*|-install|-freshen|-upgrade)) + if [[ "$cur" == -* ]]; then + COMPREPLY=( $( compgen -W '--percent --force --test \ + --replacepkgs --replacefiles --root --excludedocs \ + --includedocs --noscripts --rcfile --ignorearch \ + --dbpath --prefix --ignoreos --nodeps --allfiles \ + --ftpproxy --ftpport --justdb --httpproxy --httpport \ + --noorder --relocate --badreloc --notriggers \ + --excludepath --ignoresize --oldpackage --define \ + --eval --pipe --queryformat --repackage --nosuggests \ + --nodigest --nosignature' -- $cur ) ) + else + _filedir 'rpm' + fi + ;; esac return 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org