Use C.UTF-8 locale
This commit is contained in:
parent
db0c434a5c
commit
20e85bae74
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Summary: Resolve JSON Pointers in Python
|
Summary: Resolve JSON Pointers in Python
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -64,7 +64,7 @@ Library to resolve JSON Pointers according to RFC 6901.
|
|||||||
%py2_build
|
%py2_build
|
||||||
%endif # with python2
|
%endif # with python2
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
LC_ALL=en_US.UTF-8 %py3_build
|
LC_ALL=C.UTF-8 %py3_build
|
||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -78,7 +78,7 @@ ln -s ./jsonpointer-%{python2_version} %{buildroot}%{_bindir}/jsonpointer
|
|||||||
%endif # with python2
|
%endif # with python2
|
||||||
|
|
||||||
%if %{with python3}
|
%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}
|
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-3
|
||||||
ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer
|
ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer
|
||||||
@ -117,6 +117,10 @@ ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer
|
|||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-13
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user