SPECS: dokuwiki-plugin-tag.spec - version check

glen glen at pld-linux.org
Wed Aug 27 12:39:59 CEST 2008


Author: glen                         Date: Wed Aug 27 10:39:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- version check

---- Files affected:
SPECS:
   dokuwiki-plugin-tag.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/dokuwiki-plugin-tag.spec
diff -u SPECS/dokuwiki-plugin-tag.spec:1.1 SPECS/dokuwiki-plugin-tag.spec:1.2
--- SPECS/dokuwiki-plugin-tag.spec:1.1	Wed Aug 27 12:24:24 2008
+++ SPECS/dokuwiki-plugin-tag.spec	Wed Aug 27 12:39:53 2008
@@ -24,6 +24,10 @@
 
 %prep
 %setup -q -n %{plugin}
+if [ $(cat VERSION | tr -d -) != %{version} ]; then
+	: %%{version} mismatch, should be: $(cat VERSION | tr -d -)
+	exit 1
+fi
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,5 +58,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/08/27 10:39:53  glen
+- version check
+
 Revision 1.1  2008/08/27 10:24:24  glen
 -  new
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dokuwiki-plugin-tag.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list