[packages/neovim] drop unsupported locales

glen glen at pld-linux.org
Sat Sep 17 23:03:51 CEST 2016


commit 46240029af6be48964ef4129704801240bd56ef3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 18 00:03:30 2016 +0300

    drop unsupported locales

 neovim.spec | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/neovim.spec b/neovim.spec
index 692ee11..7770f1e 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -108,6 +108,20 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_iconsdir}/hicolor/scalable/apps}
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/neovim.desktop
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/neovim.svg
 
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
+
 %find_lang nvim
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/46240029af6be48964ef4129704801240bd56ef3



More information about the pld-cvs-commit mailing list