--- /dev/null
+--- 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>
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
%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
# 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