packages: vim-syntax-iptables/vim-syntax-iptables.spec - up to 1.08

zbyniu zbyniu at pld-linux.org
Sat May 28 22:18:04 CEST 2011


Author: zbyniu                       Date: Sat May 28 20:18:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.08

---- Files affected:
packages/vim-syntax-iptables:
   vim-syntax-iptables.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/vim-syntax-iptables/vim-syntax-iptables.spec
diff -u packages/vim-syntax-iptables/vim-syntax-iptables.spec:1.1 packages/vim-syntax-iptables/vim-syntax-iptables.spec:1.2
--- packages/vim-syntax-iptables/vim-syntax-iptables.spec:1.1	Fri Jan 16 16:18:37 2009
+++ packages/vim-syntax-iptables/vim-syntax-iptables.spec	Sat May 28 22:17:59 2011
@@ -2,12 +2,13 @@
 %define		syntax	iptables
 Summary:	Vim syntax: %{syntax}
 Name:		vim-syntax-%{syntax}
-Version:	1.06
-Release:	0.9
+Version:	1.08
+Release:	0.1
 License:	Charityware ??
 Group:		Applications/Editors/Vim
 # Taken from: http://www.vim.org/scripts/script.php?script_id=1425
-Source0:	%{syntax}.vim
+Source0:	http://www.vim.org/scripts/download_script.php?src_id=15041
+# Source0-md5:	cf681cf2095e7978b1a9e49b5292a070
 Source1:	vim-ftdetect-%{syntax}.vim
 # for _vimdatadir existence
 Requires:	vim-rt >= 4:6.3.058-3
@@ -21,17 +22,12 @@
 utilities.
 
 %prep
-%setup -qcT
-rev=$(awk '/^".*Version:/{print $3}' %{SOURCE0})
-if [ "$rev" != "%{version}" ]; then
-	: Update version $rev, and retry
-	exit 1
-fi
+%setup -q -n syntax
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect}
-install %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax/%{syntax}.vim
+install %{syntax}.vim $RPM_BUILD_ROOT%{_vimdatadir}/syntax/%{syntax}.vim
 install %{SOURCE1} $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{syntax}.vim
 
 %clean
@@ -48,6 +44,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/05/28 20:17:59  zbyniu
+- up to 1.08
+
 Revision 1.1  2009/01/16 15:18:37  blues
 - initial, not tested even...
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-iptables/vim-syntax-iptables.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list