From 0d1c1c0f9cd8a355ace7f513d0fa8b231fa26923806766b2465b6044f6fd5205 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Mon, 10 Jan 2011 15:15:40 +0000 Subject: [PATCH] Accepting request 57707 from shells Accepted submit request 57707 from user poletti_marco OBS-URL: https://build.opensuse.org/request/show/57707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash-completion?expand=0&rev=5 --- _service | 7 +++++++ _service:download_url:bash-completion-1.2.tar.bz2 | 3 +++ bash-completion-1.1.tar.bz2 | 3 --- bash-completion-speedup_rpm.patch | 12 ------------ bash-completion.changes | 8 ++++++++ bash-completion.spec | 8 +++----- 6 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 _service create mode 100644 _service:download_url:bash-completion-1.2.tar.bz2 delete mode 100644 bash-completion-1.1.tar.bz2 delete mode 100644 bash-completion-speedup_rpm.patch diff --git a/_service b/_service new file mode 100644 index 0000000..6aa45a1 --- /dev/null +++ b/_service @@ -0,0 +1,7 @@ + + + bash-completion.alioth.debian.org + http + /files/bash-completion-1.2.tar.bz2 + + \ No newline at end of file diff --git a/_service:download_url:bash-completion-1.2.tar.bz2 b/_service:download_url:bash-completion-1.2.tar.bz2 new file mode 100644 index 0000000..75b04a0 --- /dev/null +++ b/_service:download_url:bash-completion-1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd09a86134204e4c6b860bfbd5ee8ac46c6b32a54478b967dcf81e8a7839d354 +size 197574 diff --git a/bash-completion-1.1.tar.bz2 b/bash-completion-1.1.tar.bz2 deleted file mode 100644 index 8d60692..0000000 --- a/bash-completion-1.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cd415c948e44e143c2f76b6ac6f52e1e44a2762db9201cd2892fe81df807ca4 -size 135741 diff --git a/bash-completion-speedup_rpm.patch b/bash-completion-speedup_rpm.patch deleted file mode 100644 index 148cde0..0000000 --- a/bash-completion-speedup_rpm.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- contrib/rpm.orig 2009-10-20 14:01:24.171874435 +0200 -+++ contrib/rpm 2009-10-20 14:03:32.696958718 +0200 -@@ -13,6 +13,9 @@ - COMPREPLY=( $( sed -ne \ - 's|^\('$cur'[^[:space:]]*\)-[^[:space:]-]\+-[^[:space:]-]\+\.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 - _rpm_nodigsig - COMPREPLY=( $( rpm -qa $nodig $nosig --qf='%{NAME} ' "$cur*" ) ) diff --git a/bash-completion.changes b/bash-completion.changes index b5f4a1b..df18999 100644 --- a/bash-completion.changes +++ b/bash-completion.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jan 7 14:06:29 UTC 2011 - poletti.marco@gmail.com + +- Update to version 1.2. + * Add new completions. + * Many improvements and fixes to existing completions. + * Completely drop support for bash < 3. + ------------------------------------------------------------------- Tue Oct 20 14:23:47 CEST 2009 - poletti.marco@gmail.com diff --git a/bash-completion.spec b/bash-completion.spec index cfe2100..62ac6a5 100644 --- a/bash-completion.spec +++ b/bash-completion.spec @@ -1,5 +1,5 @@ # -# spec file for package bash-completion (Version 1.1) +# spec file for package bash-completion (Version 1.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,15 +18,13 @@ Name: bash-completion -Version: 1.1 +Version: 1.2 Release: 1 License: GPLv2+ Summary: Programmable Completion for Bash Url: http://bash-completion.alioth.debian.org/ Group: System/Shells Source0: http://bash-completion.alioth.debian.org/files/%{name}-%{version}.tar.bz2 -# PATCH-FEATURE-OPENSUSE bash-completion-speedup_rpm.patch -- We have rpmqpack that is faster than "rpm -qa" -Patch0: bash-completion-speedup_rpm.patch Requires: bash BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -37,7 +35,6 @@ of the programmable completion feature of Bash 2.04 and later. %prep %setup -q -%patch0 %build %configure @@ -54,5 +51,6 @@ of the programmable completion feature of Bash 2.04 and later. %doc AUTHORS COPYING README %config %{_sysconfdir}/bash_completion %config %{_sysconfdir}/bash_completion.d/* +%config %{_sysconfdir}/profile.d/bash_completion.sh %changelog