Browse Source

bash-completion: update to 2.7

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

+ 12 - 5
b/bash-completion/bash-completion-vl.spec

@@ -1,10 +1,10 @@
 Name:		bash-completion
-Version:	2.1
+Version:	2.7
 Release:	2%{?_dist_release}
 License:	GPLv2+
 Group:		System Environment/Shells
 URL:            http://bash-completion.alioth.debian.org/
-Source0:	%{name}-%{version}.tar.bz2
+Source0:	%{name}-%{version}.tar.xz
 Source3:	%{name}-2.0-redefine_filedir.bash
 Patch0:		%{name}-1.99-noblacklist.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
@@ -48,7 +48,9 @@ bash-completion は bash のプログラム可能な補完機能を利用し、
 #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
+if [ -f $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli ]; then
+   rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli
+fi 
 %endif
 
 install -Dpm 644 %{SOURCE3} \
@@ -60,17 +62,22 @@ install -Dpm 644 %{SOURCE3} \
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS COPYING README
+%doc AUTHORS COPYING doc/*.txt
 %config %{_sysconfdir}/profile.d/bash_completion.sh
 %{_sysconfdir}/bash_completion.d/
 %{_datadir}/bash-completion/
 %{_datadir}/pkgconfig/bash-completion.pc
 
 %changelog
+* Fri Oct  6 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7-2
+- new upstream release
+  (2.7-1 was used for vl6)
+- fix incorrect changelog date....
+
 * Fri Dec 27 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1-2
 - rebuild with gcc-4.8
 
-* Sun May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1
+* Tue May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1
 - source update
 - Don't install nmcli completion >= Vine7