man page file format conversion is not needed anymore
This commit is contained in:
parent
40291ffdbb
commit
0fa211bd6b
15
vim.spec
15
vim.spec
@ -21,7 +21,7 @@ Summary: The VIM editor
|
||||
URL: http://www.vim.org/
|
||||
Name: vim
|
||||
Version: %{baseversion}.%{patchlevel}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: Vim and MIT
|
||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
||||
Source1: vim.sh
|
||||
@ -545,16 +545,6 @@ rm -f %{buildroot}/%{_datadir}/vim/%{vimdir}/macros/maze/maze*.c
|
||||
rm -rf %{buildroot}/%{_datadir}/vim/%{vimdir}/tools
|
||||
rm -rf %{buildroot}/%{_datadir}/vim/%{vimdir}/doc/vim2html.pl
|
||||
rm -f %{buildroot}/%{_datadir}/vim/%{vimdir}/tutor/tutor.gr.utf-8~
|
||||
( cd %{buildroot}/%{_mandir}
|
||||
for i in `find ??/ -type f`; do
|
||||
if [[ "`file --mime $i`" == *charset=utf-8* ]]; then
|
||||
continue
|
||||
fi
|
||||
bi=`basename $i`
|
||||
iconv -f latin1 -t UTF8 $i > %{buildroot}/$bi
|
||||
mv -f %{buildroot}/$bi $i
|
||||
done
|
||||
)
|
||||
|
||||
# Remove not UTF-8 manpages
|
||||
for i in pl.ISO8859-2 it.ISO8859-1 ru.KOI8-R fr.ISO8859-1 da.ISO8859-1 de.ISO8859-1; do
|
||||
@ -797,6 +787,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
||||
%{_datadir}/icons/locolor/*/apps/*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 29 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.158-2
|
||||
- man page file format conversion is not needed anymore
|
||||
|
||||
* Mon Jan 27 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.158-1
|
||||
- patchlevel 158
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user