Drop explicit locale setting

Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-18 22:00:23 +01:00
parent 9ee12922fa
commit a3ebeffa5c

View File

@ -16,7 +16,7 @@
Name: python-%{pypi_name}
Version: 1.21
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Applying JSON Patches in Python
License: BSD
@ -72,7 +72,7 @@ Library to apply JSON Patches according to RFC 6902 - Python 3 build.
%endif # with python2
%if %{with python3}
LANG=en_US.utf8 %py3_build
%py3_build
%endif # with python3
%install
@ -88,7 +88,7 @@ done;
%endif # with python2
%if %{with python3}
LANG=en_US.utf8 %py3_install
%py3_install
for bin in jsondiff jsonpatch; do
mv %{buildroot}%{_bindir}/$bin %{buildroot}%{_bindir}/$bin-%{python3_version}
ln -s ./$bin-%{python3_version} %{buildroot}%{_bindir}/$bin-3
@ -133,6 +133,10 @@ done;
%endif # with python3
%changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.21-5
- Drop explicit locale setting
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild