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
This commit is contained in:
Marcus Rückert 2011-01-10 15:15:40 +00:00 committed by Git OBS Bridge
parent 173abda9c7
commit 0d1c1c0f9c
6 changed files with 21 additions and 20 deletions

7
_service Normal file
View File

@ -0,0 +1,7 @@
<services>
<service name="download_url">
<param name="host">bash-completion.alioth.debian.org</param>
<param name="protocol">http</param>
<param name="path">/files/bash-completion-1.2.tar.bz2</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd09a86134204e4c6b860bfbd5ee8ac46c6b32a54478b967dcf81e8a7839d354
size 197574

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cd415c948e44e143c2f76b6ac6f52e1e44a2762db9201cd2892fe81df807ca4
size 135741

View File

@ -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*" ) )

View File

@ -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

View File

@ -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