diff --git a/_service b/_service index 6aa45a1..1f061c8 100644 --- a/_service +++ b/_service @@ -2,6 +2,6 @@ bash-completion.alioth.debian.org http - /files/bash-completion-1.2.tar.bz2 + /files/bash-completion-1.3.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 deleted file mode 100644 index 75b04a0..0000000 --- a/_service:download_url:bash-completion-1.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd09a86134204e4c6b860bfbd5ee8ac46c6b32a54478b967dcf81e8a7839d354 -size 197574 diff --git a/_service:download_url:bash-completion-1.3.tar.bz2 b/_service:download_url:bash-completion-1.3.tar.bz2 new file mode 100644 index 0000000..ea120b9 --- /dev/null +++ b/_service:download_url:bash-completion-1.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ebe30579f0f3e1a521013bcdd183193605dab353d7a244ff2582fb3a36f7bec +size 211899 diff --git a/bash-completion-fix-service.patch b/bash-completion-fix-service.patch deleted file mode 100644 index 9c779cc..0000000 --- a/bash-completion-fix-service.patch +++ /dev/null @@ -1,36 +0,0 @@ - -m 1f8b55a92aba6d03bb4c43dade1f8b2e2b847b61 Mon Sep 17 00:00:00 2001 -From: David Paleino -Date: Thu, 17 Jun 2010 17:43:18 +0200 -Subject: [PATCH] Fixed "service" completion, thanks to John Hedges (Debian: #586210) - - The patch makes it safe even when every file in /etc/init.d/* - has a proper completion (unlikely, but seems like it happened). - - Thanks to John Hedges for the patch, slightly - modified to make it more compact. ---- - CHANGES | 2 +- - contrib/service | 7 ++++--- - 2 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/contrib/service b/contrib/service -index 9ebd117..f27222a 100644 ---- a/contrib/service -+++ b/contrib/service -@@ -32,9 +32,10 @@ _service() - return 0 - } && - complete -F _service service --[ -d /etc/init.d/ ] && complete -F _service -o default \ -- $(for i in /etc/init.d/*; do -- complete -p ${i##*/} &>/dev/null || printf '%s\n' ${i##*/}; done) -+[ -d /etc/init.d/ ] && ( -+ services=$(for i in /etc/init.d/*; do -+ complete -p ${i##*/} &>/dev/null || printf '%s\n' ${i##*/}; done) -+ [ -n "$services" ] && complete -F _service -o default $services;) - - # Local variables: - # mode: shell-script --- -1.7.1 diff --git a/bash-completion.changes b/bash-completion.changes index 0292087..ada15da 100644 --- a/bash-completion.changes +++ b/bash-completion.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Feb 25 08:30:09 UTC 2011 - poletti.marco@gmail.com + +- Update to version 1.3: + + Added completions for: badblocks, compgen, crontab, dumpe2fs, + e2freefrag, e2label, ether-wake, filefrag, gendiff, growisofs, + hping{,3} (the previous version already completed hping2), + iftop, ip, iscsiadm, javaws, kid3, lrzip, lsof, mktemp, + perldoc, portecle, POSIX sh, postgresql, + sha{,224,256,384,512}sum, sysbench, tune2fs, xfreerdp, xmodmap, + xm subcommands and xrdb. + + Improve the completions for: autotools, /etc/init.d/*, ipmitool, + jar, java, javadoc, MAC address, man, mencoder, mkdir, mplayer, + okular, pack200, povray, python, rpm, rpmbuild, sqlite3, tar, + unzip, users/groups (in various contexts), wodim, xine-based + players and xmllint. + + Fix the completions for: avahi-browse, IPv6 known hosts, + kompare, muttrc, p4, povray and ~username (in various + contexts). + + Other changes + ------------------------------------------------------------------- Thu Jan 13 10:13:48 CET 2011 - vuntz@opensuse.org diff --git a/bash-completion.spec b/bash-completion.spec index a66d7f7..a8c6b47 100644 --- a/bash-completion.spec +++ b/bash-completion.spec @@ -18,15 +18,13 @@ Name: bash-completion -Version: 1.2 -Release: 2 +Version: 1.3 +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-FIX-UPSTREAM bash-completion-fix-service.patch vuntz@opensuse.org -- Fix the "service" completion to not create an error, http://git.debian.org/?p=bash-completion/bash-completion.git;a=patch;h=1f8b55a92aba6d03bb4c43dade1f8b2e2b847b61 -Patch0: bash-completion-fix-service.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 -p1 %build %configure