SPECS: vim-syntax-spec.spec - 1.78: %if 0 handling

glen glen at pld-linux.org
Thu Mar 13 22:00:20 CET 2008


Author: glen                         Date: Thu Mar 13 21:00:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.78: %if 0 handling

---- Files affected:
SPECS:
   vim-syntax-spec.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/vim-syntax-spec.spec
diff -u SPECS/vim-syntax-spec.spec:1.3 SPECS/vim-syntax-spec.spec:1.4
--- SPECS/vim-syntax-spec.spec:1.3	Sun Feb 17 18:57:40 2008
+++ SPECS/vim-syntax-spec.spec	Thu Mar 13 22:00:14 2008
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
 Summary:	Vim syntax: RPM specfiles
 Name:		vim-syntax-spec
-Version:	1.70
-Release:	2
+Version:	1.78
+Release:	1
 License:	Charityware
 Group:		Applications/Editors/Vim
 Source0:	spec.vim
@@ -19,6 +19,12 @@
 This plugin provides syntax highlighting for RPM spec files.
 
 %prep
+%setup -qcT
+rev=$(awk '/^".*Version:.*Revision:/{print $4}' %{SOURCE0})
+if [ "$rev" != "%{version}" ]; then
+	: Update version $rev, and retry
+	exit 1
+fi
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -40,6 +46,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008-03-13 21:00:14  glen
+- 1.78: %if 0 handling
+
 Revision 1.3  2008-02-17 17:57:40  glen
 - add %ppc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/vim-syntax-spec.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list