Use C.UTF-8 locale

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-18 21:54:57 +01:00
parent db0c434a5c
commit 20e85bae74

View File

@ -17,7 +17,7 @@
Name: python-%{pypi_name}
Version: 1.10
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Resolve JSON Pointers in Python
License: BSD
@ -64,7 +64,7 @@ Library to resolve JSON Pointers according to RFC 6901.
%py2_build
%endif # with python2
%if %{with python3}
LC_ALL=en_US.UTF-8 %py3_build
LC_ALL=C.UTF-8 %py3_build
%endif # with python3
%install
@ -78,7 +78,7 @@ ln -s ./jsonpointer-%{python2_version} %{buildroot}%{_bindir}/jsonpointer
%endif # with python2
%if %{with python3}
LC_ALL=en_US.UTF-8 %py3_install
LC_ALL=C.UTF-8 %py3_install
mv %{buildroot}%{_bindir}/jsonpointer %{buildroot}%{_bindir}/jsonpointer-%{python3_version}
ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer-3
ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer
@ -117,6 +117,10 @@ ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer
%endif # with python3
%changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.10-14
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild