parent
c967177abb
commit
1b18fe8ee3
@ -4,7 +4,7 @@
|
||||
Summary: Man (manual) pages from the Linux Documentation Project
|
||||
Name: man-pages
|
||||
Version: 3.32
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?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/
|
||||
@ -106,11 +106,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 $f | sed -e '1s/coding: [^ ]* /coding: UTF-8 /' > $instdir/$f ;;
|
||||
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 $f | sed -e '1s/coding: [^ ]* /coding: UTF-8 /' > $instdir/$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
|
||||
@ -130,6 +130,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%lang(en) %{_mandir}/en/man*/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 31 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.31-7
|
||||
- resolves: #673586
|
||||
fix the sed pages parsing
|
||||
|
||||
* Thu Jan 27 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.31-6
|
||||
- resolves: #652869
|
||||
fix the necessary buffer limit in the man page for readdir_r
|
||||
|
Loading…
Reference in New Issue
Block a user