[packages/man-pages] - added tr-so-links patch (fix .so links in tr man pages)

qboosh qboosh at pld-linux.org
Sat Nov 16 10:37:09 CET 2019


commit 2a9704c867c1d8a102d1495265896ebd700b715b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 16 10:37:18 2019 +0100

    - added tr-so-links patch (fix .so links in tr man pages)

 man-pages-tr-so-links.patch | 11 +++++++++++
 man-pages.spec              | 10 ++++++----
 2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/man-pages.spec b/man-pages.spec
index a0c02a6..da5c942 100644
--- a/man-pages.spec
+++ b/man-pages.spec
@@ -114,8 +114,9 @@ Patch0:		%{name}-zh_fixes.patch
 Patch1:		%{name}-misc.patch
 Patch2:		%{name}-extra.patch
 Patch3:		%{name}-tr-bash.patch
-Patch4:		%{name}-misc-localized.patch
-Patch5:		%{name}-cs-bash.patch
+Patch4:		%{name}-tr-so-links.patch
+Patch5:		%{name}-misc-localized.patch
+Patch6:		%{name}-cs-bash.patch
 Patch10:	%{name}-extra-files.patch
 URL:		https://www.kernel.org/doc/man-pages/
 BuildRequires:	autoconf >= 2.61
@@ -309,7 +310,8 @@ Fragmenty POSIX 1003.1-2003 w postaci stron podręcznika systemowego.
 %setup -q -c -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a30
 %patch0 -p1 -d manpages-zh-%{zh_version}
 %patch3 -p1 -d man-pages-tr-%{tr_version}
-%patch5 -p1 -d man-pages-cs-%{cs_version}
+%patch4 -p1 -d man-pages-tr-%{tr_version}
+%patch6 -p1 -d man-pages-cs-%{cs_version}
 # man-pages-extra
 %patch10 -p0
 %patch2 -p0 -d man-pages-extra
@@ -447,7 +449,7 @@ done
 # zh: handler later (after build)
 
 %patch1 -p1 -d src/C
-%patch4 -p1 -d src
+%patch5 -p1 -d src
 
 # patching creates backups
 find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -rf
diff --git a/man-pages-tr-so-links.patch b/man-pages-tr-so-links.patch
new file mode 100644
index 0000000..ff744b4
--- /dev/null
+++ b/man-pages-tr-so-links.patch
@@ -0,0 +1,11 @@
+--- man-pages-tr-1.0.5/source/xml2man-doc.xsl.orig	2008-04-21 15:03:33.000000000 +0200
++++ man-pages-tr-1.0.5/source/xml2man-doc.xsl	2019-11-16 09:16:25.727574073 +0100
+@@ -56,7 +56,7 @@
+   </xsl:variable>
+ 
+   <doc:document href="{concat('tr/man', $ext, '/', $thisbase, '.', $ext)}" omit-xml-declaration="yes">
+-    <xsl:value-of select="concat($sostr, $mainbase, '.', $ext, '.gz
')"/>
++    <xsl:value-of select="concat($sostr, $mainbase, '.', $ext)"/>
+   </doc:document>
+ 
+ </xsl:template>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/man-pages.git/commitdiff/2a9704c867c1d8a102d1495265896ebd700b715b



More information about the pld-cvs-commit mailing list