diff options
author | Elan Ruusamäe | 2012-11-28 12:25:57 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2012-11-28 12:25:57 (GMT) |
commit | 6d6eaeaccb311eb647e114c6c4f737339ef12a13 (patch) | |
tree | fc78f0796a0ec3e4c13d0b9bfdac7feec1a4e35b | |
parent | 87bb134042bada71fa1fa869da8585d4a488a379 (diff) | |
download | vim-syntax-vcl-6d6eaeaccb311eb647e114c6c4f737339ef12a13.zip vim-syntax-vcl-6d6eaeaccb311eb647e114c6c4f737339ef12a13.tar.gz |
update to git urls
-rw-r--r-- | vcl.vim | 5 | ||||
-rw-r--r-- | vim-syntax-vcl.spec | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -2,9 +2,8 @@ " Filename: vcl.vim " Language: Varnish configuation Language, http://www.varnish-cache.org/wiki/VCL " Maintainer: Elan Ruusamäe <glen@delfi.ee> -" URL: http://cvs.pld-linux.org/packages/vim-syntax-vcl/vcl.vim -" Version Info: $Revision$ -" Last Change: $Date$ UTC +" URL: http://git.pld-linux.org/packages/vim-syntax-vcl/ +" Revision: 1.7 " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded diff --git a/vim-syntax-vcl.spec b/vim-syntax-vcl.spec index 4ce12a0..c08c9a6 100644 --- a/vim-syntax-vcl.spec +++ b/vim-syntax-vcl.spec @@ -1,12 +1,12 @@ %define syntax vcl Summary: Vim syntax: Varnish configuation Language Name: vim-syntax-%{syntax} -Version: 1.7 +Version: 1.8 Release: 1 License: GPL v2 Group: Applications/Editors/Vim Source0: vcl.vim -URL: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-vcl/ +URL: http://git.pld-linux.org/packages/vim-syntax-vcl/ Requires: vim-rt >= 4:7.2.170 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -17,7 +17,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Vim syntax for Varnish configuation Language (VCL). %prep -rev=$(awk '/^".*Revision:/{print $5}' %{SOURCE0}) +rev=$(awk '/^".*Revision:/{print $3}' %{SOURCE0}) if [ "$rev" != "%{version}" ]; then : Update version $rev, and retry exit 1 @@ -26,7 +26,7 @@ fi %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect} -cp -a %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax +cp -p %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{syntax}.vim <<-EOF au BufNewFile,BufRead *.vcl setf %{syntax} |