Browse Source

update source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7699 ec354946-7b23-47d6-9f5a-488ba84defc7
tanakanata 11 years ago
parent
commit
c356190d03
1 changed files with 11 additions and 1 deletions
  1. 11 1
      b/bash-completion/bash-completion-vl.spec

+ 11 - 1
b/bash-completion/bash-completion-vl.spec

@@ -1,5 +1,5 @@
 Name:		bash-completion
-Version:	2.0
+Version:	2.1
 Release:	1%{?_dist_release}
 License:	GPLv2+
 Group:		System Environment/Shells
@@ -45,6 +45,12 @@ bash-completion は bash のプログラム可能な補完機能を利用し、
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__make} install DESTDIR=${RPM_BUILD_ROOT}
 
+#remove for vine
+rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/{cowsay,cowthink}
+%if "%{?_dist_release}" >= "vl7"
+rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli
+%endif
+
 install -Dpm 644 %{SOURCE3} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/redefine_filedir
 
@@ -61,6 +67,10 @@ install -Dpm 644 %{SOURCE3} \
 %{_datadir}/pkgconfig/bash-completion.pc
 
 %changelog
+* Sun May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1
+- source update
+- Don't install nmcli completion >= Vine7
+
 * Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1
 - source update
 - merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17