packages: dokuwiki-plugin-backlinks/dokuwiki-plugin-backlinks.spec - update...

glen glen at pld-linux.org
Thu Mar 18 18:15:05 CET 2010


Author: glen                         Date: Thu Mar 18 17:15:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update version check

---- Files affected:
packages/dokuwiki-plugin-backlinks:
   dokuwiki-plugin-backlinks.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/dokuwiki-plugin-backlinks/dokuwiki-plugin-backlinks.spec
diff -u packages/dokuwiki-plugin-backlinks/dokuwiki-plugin-backlinks.spec:1.1 packages/dokuwiki-plugin-backlinks/dokuwiki-plugin-backlinks.spec:1.2
--- packages/dokuwiki-plugin-backlinks/dokuwiki-plugin-backlinks.spec:1.1	Fri Feb 27 12:58:47 2009
+++ packages/dokuwiki-plugin-backlinks/dokuwiki-plugin-backlinks.spec	Thu Mar 18 18:15:00 2010
@@ -15,7 +15,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		dokuconf	/etc/webapps/dokuwiki
-%define		dokudir	/usr/share/dokuwiki
+%define		dokudir		/usr/share/dokuwiki
 %define		plugindir	%{dokudir}/lib/plugins/%{plugin}
 
 %description
@@ -23,8 +23,9 @@
 
 %prep
 %setup -q -n %{plugin}
-if [ $(cat VERSION | tr -d -) != %{version} ]; then
-	: %%{version} mismatch, should be: $(cat VERSION | tr -d -)
+version=$(cat VERSION)
+if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
+	: %%{version} mismatch
 	exit 1
 fi
 
@@ -55,5 +56,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/03/18 17:15:00  glen
+- update version check
+
 Revision 1.1  2009/02/27 11:58:47  glen
 - new
================================================================

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



More information about the pld-cvs-commit mailing list