packages: gitolite/gitolite.spec - change links in documentation to local ones

draenog draenog at pld-linux.org
Thu Apr 21 16:27:43 CEST 2011


Author: draenog                      Date: Thu Apr 21 14:27:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- change links in documentation to local ones

---- Files affected:
packages/gitolite:
   gitolite.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/gitolite/gitolite.spec
diff -u packages/gitolite/gitolite.spec:1.18 packages/gitolite/gitolite.spec:1.19
--- packages/gitolite/gitolite.spec:1.18	Wed Apr 20 15:49:40 2011
+++ packages/gitolite/gitolite.spec	Thu Apr 21 16:27:38 2011
@@ -73,7 +73,8 @@
 # Format documentation
 for F in doc/*.mkd; do
 	perl -MText::Markdown > $(echo $F | sed s/.mkd/.html/) < $F \
-		-e 'print Text::Markdown::markdown (join "", <>)'
+		-e '$text=join("",<>); $text=~s#(\[\w+\]: )http://sitaramc.github.com/gitolite/doc/#$1#g;
+                    print Text::Markdown::markdown ($text);'
 done
 
 %install
@@ -116,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2011/04/21 14:27:38  draenog
+- change links in documentation to local ones
+
 Revision 1.18  2011/04/20 13:49:40  draenog
 - install perl modules in perl_vendorlib (remove lib.patch)
 - list %{_sysconfidir}/gitolite only once
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gitolite/gitolite.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list