packages: man-pages/man-pages.spec - with man-db man* directory must be add...

baggins baggins at pld-linux.org
Mon Apr 23 23:20:42 CEST 2012


Author: baggins                      Date: Mon Apr 23 21:20:42 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- with man-db man* directory must be added, not removed from .so include directives

---- Files affected:
packages/man-pages:
   man-pages.spec (1.269 -> 1.270) 

---- Diffs:

================================================================
Index: packages/man-pages/man-pages.spec
diff -u packages/man-pages/man-pages.spec:1.269 packages/man-pages/man-pages.spec:1.270
--- packages/man-pages/man-pages.spec:1.269	Mon Apr 23 21:55:33 2012
+++ packages/man-pages/man-pages.spec	Mon Apr 23 23:20:37 2012
@@ -393,9 +393,8 @@
 rm -f man*/README*
 
 for n in man{1,2,3,4,5,6,7,8,0p,1p,3p}/* */man{1,2,3,4,5,6,7,8,9}/* ; do
-	x=`echo $n | sed -e 's,^.*man\([^/]\)/.*,\1,'`
-	if head -n 1 $n| grep "^\.so man$x/" >/dev/null 2>&1 ; then
-		sed -i -e 's,\.so man./,.so ,' $n
+	if head -n 1 $n | grep "^\.so [^/]*$" >/dev/null 2>&1 ; then
+		sed -i -e 's,.so \([^\.]*\)\.\(.*\),.so man\2/\1.\2,' $n
 	fi
 done
 
@@ -510,6 +509,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.270  2012/04/23 21:20:37  baggins
+- with man-db man* directory must be added, not removed from .so include directives
+
 Revision 1.269  2012/04/23 19:55:33  baggins
 - 3.39
 - don't convert man pages _from_ utf8
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/man-pages/man-pages.spec?r1=1.269&r2=1.270



More information about the pld-cvs-commit mailing list