- resolves: #672348
problems with the encoding of characters set man-pages thanks Denis Barbier for a patch
This commit is contained in:
parent
5cdfc79710
commit
045ccfc7f7
@ -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 <varekova@redhat.com> - 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 <varekova@redhat.com> - 3.31-4
|
||||
- resolves: #672377
|
||||
fix man-pages-2.48-passwd.patch remove trailing dots
|
||||
|
Loading…
Reference in New Issue
Block a user