packages: rpm-build-macros/rpm.macros - always create man include directive...

baggins baggins at pld-linux.org
Tue Mar 20 18:23:07 CET 2012


Author: baggins                      Date: Tue Mar 20 17:23:06 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- always create man include directives in the form ".so manX/cmd.X"

---- Files affected:
packages/rpm-build-macros:
   rpm.macros (1.647 -> 1.648) 

---- Diffs:

================================================================
Index: packages/rpm-build-macros/rpm.macros
diff -u packages/rpm-build-macros/rpm.macros:1.647 packages/rpm-build-macros/rpm.macros:1.648
--- packages/rpm-build-macros/rpm.macros:1.647	Fri Feb 17 19:17:29 2012
+++ packages/rpm-build-macros/rpm.macros	Tue Mar 20 18:23:01 2012
@@ -521,7 +521,9 @@
 					l=${l#/usr/share/man/}; \
 					l=${l#/usr/X11R6/man/}; \
 				else \
-					l=$m; \
+					l=${a#$RPM_BUILD_ROOT$i/}; \
+					l=${l%/*}; \
+					l="$l/$m"; \
 				fi; \
 				rm -f $a; \
 				echo ".so $l" > $a; \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org//packages/rpm-build-macros/rpm.macros?r1=1.647&r2=1.648&f=u



More information about the pld-cvs-commit mailing list