]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- always create man include directives in the form ".so manX/cmd.X"
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 20 Mar 2012 17:23:01 +0000 (17:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.648

rpm.macros

index 545d011b96da1ff58782acf6e5f0e8ba9be1e55d..1fc3a04ed9b2dfeba0e43df964aaf7a281e9b13d 100644 (file)
@@ -521,7 +521,9 @@ CXXFLAGS="%{rpmcxxflags}" \
                                        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; \
This page took 0.349352 seconds and 4 git commands to generate.