https://bugzilla.redhat.com/show_bug.cgi?id=1035606
Masa Oshima <moshima.web(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #834318|0 |1
is obsolete| |
Attachment #834320|0 |1
is obsolete| |
--- Comment #8 from Masa Oshima <moshima.web(a)gmail.com> ---
Created attachment 840637
-->
https://bugzilla.redhat.com/attachment.cgi?id=840637&action=edit
A patch for current newest vesion vim.spec 7.4.131-1
I added 'file' command for iconv don`t needed in UTF-8 manpage.
So now new depend on 'file' command in vim-common package.
Master Karsten, could you please accept this humble pull-request ?
Diff:
$ LANG=en_US.utf8 TZ=UTC0 diff -Naur vim.spec-7.4.131-1 vim.spec >
vim-manpage-ja-1035606.patch
$
$ cat vim-manpage-ja-1035606.patch
--- vim.spec-7.4.131-1 2013-12-17 14:19:06.000000000 +0000
+++ vim.spec 2013-12-22 16:43:39.523683741 +0000
@@ -20,7 +20,7 @@
URL:
http://www.vim.org/
Name: vim
Version: %{baseversion}.%{patchlevel}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Vim
Group: Applications/Editors
Source0:
ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@@ -222,6 +222,7 @@
Conflicts: man-pages-fr < 0.9.7-14
Conflicts: man-pages-it < 0.3.0-17
Conflicts: man-pages-pl < 0.24-2
+BuildRequires: file
Requires: %{name}-filesystem
%description common
@@ -700,6 +701,9 @@
rm -f %{buildroot}/%{_datadir}/vim/%{vimdir}/tutor/tutor.gr.utf-8~
( cd %{buildroot}/%{_mandir}
for i in `find ??/ -type f`; do
+ if [[ "`file $i`" == *UTF-8\ Unicode\ text* ]]; then
+ continue
+ fi
bi=`basename $i`
iconv -f latin1 -t UTF8 $i > %{buildroot}/$bi
mv -f %{buildroot}/$bi $i
@@ -954,6 +958,9 @@
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Sun Dec 22 2013 Masayuki Oshima <moshima.web(a)gmail.com> 7.4.131-2
+- fix xxd manpage got garbled in Japanese locale (#1035606)
+
* Tue Dec 17 2013 Karsten Hopp <karsten(a)redhat.com> 7.4.131-1
- patchlevel 131
$
Patch:
$ cd your-spec-dir
$ patch -p0 < vim-manpage-ja-1035606.patch
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=cVpwXOB3mL&a=cc_unsubscribe