]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- add PEAR_Command_Packaging support to pear auto/ac/bash-completion-1_2-4 auto/th/bash-completion-1_2-4
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 19 Oct 2010 19:55:32 +0000 (19:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-completion.spec -> 1.162
    pear.patch -> 1.1

bash-completion.spec
pear.patch [new file with mode: 0644]

index 8377e83370298e6b71ebf13f005fb8302f280785..00f2c09e3493ebea307d513278460550ffbab0fc 100644 (file)
@@ -8,7 +8,7 @@ Summary:        bash-completion offers programmable completion for bash
 Summary(pl.UTF-8):     Programowalne uzupełnianie nazw dla basha
 Name:          bash-completion
 Version:       1.2
-Release:       3
+Release:       4
 Epoch:         1
 License:       GPL
 Group:         Applications/Shells
@@ -22,6 +22,7 @@ Source3:      http://launchpadlibrarian.net/19164189/mysqldump
 Source4:       http://svn.php.net/viewvc/pear2/sandbox/PEAR_BashCompletion/trunk/pear?revision=285425&view=co#/pear
 # Source4-md5: 8ce77e4459e2c45e2096da8d03c8f43d
 Patch0:                %{name}-rpm-cache.patch
+Patch1:                pear.patch
 URL:           http://bash-completion.alioth.debian.org/
 Requires(triggerpostun):       sed >= 4.0
 Requires:      bash >= 2.05a-3
@@ -42,10 +43,11 @@ kompletowanie parametrów linii poleceń.
 
 %prep
 %setup -q
-%patch0 -p1
 cp -a %{SOURCE1} contrib/poldek
 cp -a %{SOURCE3} contrib/mysqldump
 cp -a %{SOURCE4} contrib/pear
+%patch0 -p1
+%patch1 -p1
 
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
diff --git a/pear.patch b/pear.patch
new file mode 100644 (file)
index 0000000..48cd524
--- /dev/null
@@ -0,0 +1,16 @@
+--- bash-completion-1.2/contrib/pear~  2010-08-23 20:41:58.000000000 +0300
++++ bash-completion-1.2/contrib/pear   2010-10-19 22:52:26.008412279 +0300
+@@ -106,6 +106,13 @@
+             _filedir '@(tgz)'
+             return 0
+             ;;
++        make-rpm-spec)
++            if [[ "${cur}" == -* ]] ; then
++                COMPREPLY=( $(compgen -W "-t -o -r -p -d --spec-template --output --rpm-release --rpm-pkgname --rpm-depname" -- ${cur}) )
++            fi
++            _filedir '@(tgz)'
++            return 0
++            ;;
+         package|pickle)
+             if [[ "${cur}" == -* ]] ; then
+                 COMPREPLY=( $(compgen -W "-Z -n --nocompress --showname" -- ${cur}) )
This page took 0.236695 seconds and 4 git commands to generate.