From 045ccfc7f7b2be3d8f45bed18a441451cef14659 Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Thu, 27 Jan 2011 10:53:17 +0100 Subject: [PATCH] - resolves: #672348 problems with the encoding of characters set man-pages thanks Denis Barbier for a patch --- man-pages.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/man-pages.spec b/man-pages.spec index 04055af..c55bdec 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -4,7 +4,7 @@ Summary: Man (manual) pages from the Linux Documentation Project Name: man-pages Version: 3.32 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE Group: Documentation URL: http://www.kernel.org/pub/linux/docs/manpages/ @@ -103,11 +103,11 @@ for sec in 0p 1 1p 2 3 3p 4 5 6 7 8 9; do enc=${f#man7/} enc=${enc%.7} enc=ISO-${enc#iso_} - LANG=en iconv -f $enc -t utf-8 -o $instdir/$f $f ;; - man7/koi8-r.7) + LANG=en iconv -f $enc -t utf-8 $f | sed -e '1s/coding: [^ ]* /coding: UTF-8 /' > $instdir/$f ;; + man7/koi8-*.7 | man7/armscii-8.7 | man7/cp1251.7) enc=${f#man7/} enc=${enc%.7} - LANG=en iconv -f $enc -t utf-8 -o $instdir/$f $f ;; + LANG=en iconv -f $enc -t utf-8 $f | sed -e '1s/coding: [^ ]* /coding: UTF-8 /' > $instdir/$f ;; *) LANG=en iconv -f latin1 -t utf-8 -o $instdir/en/$f $f LANG=en iconv -f utf-8 -t ascii//translit -o $instdir/$f $instdir/en/$f @@ -127,6 +127,11 @@ rm -rf $RPM_BUILD_ROOT %lang(en) %{_mandir}/en/man*/* %changelog +* Thu Jan 27 2011 Ivana Hutarova Varekova - 3.31-5 +- resolves: #672348 + problems with the encoding of characters set man-pages + thanks Denis Barbier for a patch + * Tue Jan 25 2011 Ivana Hutarova Varekova - 3.31-4 - resolves: #672377 fix man-pages-2.48-passwd.patch remove trailing dots