[packages/vcsh] Subpackage zsh completion routines
    caleb 
    caleb at pld-linux.org
       
    Thu May 16 13:34:31 CEST 2013
    
    
  
commit cadd8623c81b0ad971e390029c0dba93663395ed
Author: Caleb Maclennan <caleb at pld-linux.org>
Date:   Thu May 16 14:34:18 2013 +0300
    Subpackage zsh completion routines
 vcsh.spec | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/vcsh.spec b/vcsh.spec
index 5406b80..fa1b4db 100644
--- a/vcsh.spec
+++ b/vcsh.spec
@@ -2,7 +2,7 @@
 Summary:	home directory config manager based on git
 Name:		vcsh
 Version:	1.2
-Release:	0.2
+Release:	0.3
 License:	GPL v2
 Group:		Applications/Console
 Source0:	https://github.com/RichiH/vcsh/archive/v%{version}-%{dotversion}.tar.gz
@@ -13,12 +13,20 @@ Requires:	mr
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-vcsh allows you to have several git repositories, all maintaining
+%{name} allows you to have several git repositories, all maintaining
 their working trees in $HOME without clobbering each other. That, in
 turn, means you can have one repository per config set (zsh, vim, ssh,
 etc), picking and choosing which configs you want to use on which
 machine.
 
+%package zsh-completions
+Summary:	zsh shell completion routines for %{name}
+Group:		Applications/Console
+Requires:	zsh
+
+%description zsh-completions
+Tab completion routines for %{name} in zsh.
+
 %prep
 %setup -q -n %{name}-%{version}-%{dotversion}
 %patch0 -p0
@@ -38,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 #%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/zsh/site-functions/_%{name}
+%attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1*
+
+%files zsh-completions
+%defattr(644,root,root,755)
+%{_datadir}/zsh/site-functions/_%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vcsh.git/commitdiff/cadd8623c81b0ad971e390029c0dba93663395ed
    
    
More information about the pld-cvs-commit
mailing list