SPECS: dokuwiki-tpl-multitemplate.spec - use sed

glen glen at pld-linux.org
Wed Aug 29 17:52:53 CEST 2007


Author: glen                         Date: Wed Aug 29 15:52:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use sed

---- Files affected:
SPECS:
   dokuwiki-tpl-multitemplate.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/dokuwiki-tpl-multitemplate.spec
diff -u SPECS/dokuwiki-tpl-multitemplate.spec:1.1 SPECS/dokuwiki-tpl-multitemplate.spec:1.2
--- SPECS/dokuwiki-tpl-multitemplate.spec:1.1	Wed Aug 29 17:50:40 2007
+++ SPECS/dokuwiki-tpl-multitemplate.spec	Wed Aug 29 17:52:48 2007
@@ -1,10 +1,10 @@
 # $Revision$, $Date$
 %define		_snap	01022007
-%define		_ver	%(y=$(echo %{_snap} | cut -c5-8); m=$(echo %{_snap} | cut -c1-2); d=$(echo %{_snap} | cut -c3-4); echo $y$m$d)
+%define		_ver	%(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
 Summary:	Multitemplate for DokuWiki
 Name:		dokuwiki-tpl-multitemplate
 Version:	%{_ver}
-Release:	0.1
+Release:	0.2
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://tatewake.com/wiki/_media/projects:multitemplate-%{_snap}.zip
@@ -43,6 +43,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/08/29 15:52:48  glen
+- use sed
+
 Revision 1.1  2007/08/29 15:50:40  glen
 - new
-
================================================================

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



More information about the pld-cvs-commit mailing list