[packages/bash-completion/bash-completion-2.0-DEVEL] files installed by make rules, not by glob

glen glen at pld-linux.org
Thu Aug 2 21:16:49 CEST 2012


commit c4481a09dd2debe19271a0961a1b25e65c36c815
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Aug 2 22:14:04 2012 +0300

    files installed by make rules, not by glob

 bash-completion.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/bash-completion.spec b/bash-completion.spec
index 858fd18..530e49d 100644
--- a/bash-completion.spec
+++ b/bash-completion.spec
@@ -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:	2.0
-Release:	0.5
+Release:	0.6
 Epoch:		1
 License:	GPL v2+
 Group:		Applications/Shells
@@ -46,10 +46,7 @@ dopełnianie parametrów linii poleceń.
 
 %prep
 %setup -q
-cp -p %{SOURCE1} completions/poldek
-cp -p %{SOURCE3} completions/mysqldump
 cp -p %{SOURCE4} completions/pear
-cp -p %{SOURCE5} completions/phing
 %patch0 -p1
 %patch1 -p1
 
@@ -75,6 +72,11 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
 cp -p completions/_yum $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/yum
 cp -p completions/_yum-utils $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/yum-utils
 
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/poldek
+cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/mysqldump
+cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/phing
+cp -p completions/pear $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/phing
+
 # No package matches '*/apache2ctl'
 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/completions/apache2ctl
 # No PLD package or no such binary to complete on


More information about the pld-cvs-commit mailing list