packages: bash-completion/bash-completion.spec - subst path to helpers in p...

glen glen at pld-linux.org
Fri Feb 11 19:21:37 CET 2011


Author: glen                         Date: Fri Feb 11 18:21:37 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- subst path to helpers in perl completion

---- Files affected:
packages/bash-completion:
   bash-completion.spec (1.164 -> 1.165) 

---- Diffs:

================================================================
Index: packages/bash-completion/bash-completion.spec
diff -u packages/bash-completion/bash-completion.spec:1.164 packages/bash-completion/bash-completion.spec:1.165
--- packages/bash-completion/bash-completion.spec:1.164	Fri Feb 11 19:11:45 2011
+++ packages/bash-completion/bash-completion.spec	Fri Feb 11 19:21:32 2011
@@ -25,6 +25,7 @@
 Patch0:		%{name}-rpm-cache.patch
 Patch1:		pear.patch
 URL:		http://bash-completion.alioth.debian.org/
+BuildRequires:	sed >= 4.0
 Requires(triggerpostun):	sed >= 4.0
 Requires:	bash >= 3.2
 Requires:	issue
@@ -72,6 +73,9 @@
 # no package to hook to
 rm completions/configure
 
+# update path
+%{__sed} -i -e 's#${BASH_SOURCE\[0\]%/\*}#%{_datadir}/%{name}#' completions/perl
+
 # split freeciv-client,freeciv-server as we have these in separate packages
 mv completions/freeciv .
 %{__sed} -ne '1,2p;/have civserver/,/complete -F _civserver civserver/p;/# Local/,/# ex:/p' freeciv > completions/freeciv-server
@@ -540,6 +544,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.165  2011/02/11 18:21:32  glen
+- subst path to helpers in perl completion
+
 Revision 1.164  2011/02/11 18:11:45  glen
 - package new files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bash-completion/bash-completion.spec?r1=1.164&r2=1.165&f=u



More information about the pld-cvs-commit mailing list