Use C.UTF-8 locale

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-18 22:25:46 +01:00
parent 9ee42f3160
commit aa00caec4c

View File

@ -12,7 +12,7 @@
Summary: An HTML, XML, SAX, and Reader parser Summary: An HTML, XML, SAX, and Reader parser
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: %{mainver} Version: %{mainver}
Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist} Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist}.1
Group: Development/Languages Group: Development/Languages
License: MIT License: MIT
URL: http://nokogiri.rubyforge.org/nokogiri/ URL: http://nokogiri.rubyforge.org/nokogiri/
@ -100,7 +100,7 @@ sed -i \
sed -i -e '\@mini_portile@d' %{gem_name}.gemspec sed -i -e '\@mini_portile@d' %{gem_name}.gemspec
# Ummm... # Ummm...
env LANG=ja_JP.UTF-8 gem build %{gem_name}.gemspec LANG=C.UTF-8 gem build %{gem_name}.gemspec
mv %{gem_name}-%{version}.gem $TOPDIR mv %{gem_name}-%{version}.gem $TOPDIR
popd popd
@ -172,7 +172,7 @@ rm -f %{buildroot}%{gem_instdir}/Manifest.txt
# fails without TZ on sparc # fails without TZ on sparc
export TZ="Asia/Tokyo" export TZ="Asia/Tokyo"
#??? #???
LANG=ja_JP.UTF-8 LANG=C.UTF-8
pushd ./%{gem_instdir} pushd ./%{gem_instdir}
@ -219,6 +219,10 @@ popd
%{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/ %{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/
%changelog %changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.8.5-1.1
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Tue Oct 9 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.8.5-1 * Tue Oct 9 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.8.5-1
- 1.8.5 - 1.8.5