Drop explicit locale setting
Python3 now sets unicode locale automatically, this workaround should not be necessary anymore.
This commit is contained in:
parent
9ee12922fa
commit
a3ebeffa5c
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.21
|
Version: 1.21
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Applying JSON Patches in Python
|
Summary: Applying JSON Patches in Python
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -72,7 +72,7 @@ Library to apply JSON Patches according to RFC 6902 - Python 3 build.
|
|||||||
%endif # with python2
|
%endif # with python2
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
LANG=en_US.utf8 %py3_build
|
%py3_build
|
||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -88,7 +88,7 @@ done;
|
|||||||
%endif # with python2
|
%endif # with python2
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
LANG=en_US.utf8 %py3_install
|
%py3_install
|
||||||
for bin in jsondiff jsonpatch; do
|
for bin in jsondiff jsonpatch; do
|
||||||
mv %{buildroot}%{_bindir}/$bin %{buildroot}%{_bindir}/$bin-%{python3_version}
|
mv %{buildroot}%{_bindir}/$bin %{buildroot}%{_bindir}/$bin-%{python3_version}
|
||||||
ln -s ./$bin-%{python3_version} %{buildroot}%{_bindir}/$bin-3
|
ln -s ./$bin-%{python3_version} %{buildroot}%{_bindir}/$bin-3
|
||||||
@ -133,6 +133,10 @@ done;
|
|||||||
%endif # with python3
|
%endif # with python3
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
|
||||||
- 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