packages: kvmsh/kvmsh.spec - fix bash-completion package

glen glen at pld-linux.org
Mon Sep 7 07:59:53 CEST 2009


Author: glen                         Date: Mon Sep  7 05:59:53 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix bash-completion package

---- Files affected:
packages/kvmsh:
   kvmsh.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/kvmsh/kvmsh.spec
diff -u packages/kvmsh/kvmsh.spec:1.5 packages/kvmsh/kvmsh.spec:1.6
--- packages/kvmsh/kvmsh.spec:1.5	Sat Sep  5 23:11:22 2009
+++ packages/kvmsh/kvmsh.spec	Mon Sep  7 07:59:47 2009
@@ -21,8 +21,8 @@
 # Source0-md5:	0f731b1fcfb3661abe33326e6cfeed56
 Patch0:		%{name}-stdvga.patch
 URL:		http://gitorious.org/kvmsh/
-Requires:	kvm >= 77
 BuildRequires:	rpm-perlprov >= 4.1-13
+Requires:	kvm >= 77
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -53,13 +53,14 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{5,8}}
-install -d $RPM_BUILD_ROOT%{_sysconfdir}{/bash_completion.d/,/kvmsh/{auto,hosts,network}}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/kvmsh/{auto,hosts,network}
+install -d $RPM_BUILD_ROOT/etc/bash_completion.d
 install -d $RPM_BUILD_ROOT/var/run/kvmsh/hosts
 
 install src/kvmsh.pl $RPM_BUILD_ROOT%{_bindir}/kvmsh
 install doc/man/kvmsh.8 $RPM_BUILD_ROOT%{_mandir}/man8
 install doc/man/kvmdomain.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
-install contrib/bash_completion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/kvmsh-completion.bash
+install contrib/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/kvmsh
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -75,7 +76,7 @@
 
 %files -n bash-completion-kvmsh
 %defattr(644,root,root,755)
-%{_sysconfdir}/bash_completion.d/*
+/etc/bash_completion.d/vmsh
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -83,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2009/09/07 05:59:47  glen
+- fix bash-completion package
+
 Revision 1.5  2009/09/05 21:11:22  adamg
 - R: kvm >= 77
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kvmsh/kvmsh.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list