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/
|
URL: http://www.vim.org/
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: %{baseversion}.%{patchlevel}
|
Version: %{baseversion}.%{patchlevel}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Vim and MIT
|
License: Vim and MIT
|
||||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
||||||
Source1: vim.sh
|
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}/tools
|
||||||
rm -rf %{buildroot}/%{_datadir}/vim/%{vimdir}/doc/vim2html.pl
|
rm -rf %{buildroot}/%{_datadir}/vim/%{vimdir}/doc/vim2html.pl
|
||||||
rm -f %{buildroot}/%{_datadir}/vim/%{vimdir}/tutor/tutor.gr.utf-8~
|
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
|
# 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
|
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/*
|
%{_datadir}/icons/locolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 27 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.158-1
|
||||||
- patchlevel 158
|
- patchlevel 158
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user