Drop explicit locale setting
Python3 now sets unicode locale automatically, this workaround should not be necessary anymore. For python2, let's use the lighter locale.
This commit is contained in:
parent
0340353cc5
commit
0fd5f8de67
@ -19,7 +19,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.7.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
||||
License: MIT and Public Domain
|
||||
# main package: MIT, except: doc/style.css: Public Domain
|
||||
@ -162,7 +162,7 @@ popd
|
||||
%if %{with python2}
|
||||
pushd python2
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} \
|
||||
LC_ALL="en_US.UTF-8" \
|
||||
LC_ALL=C.UTF-8 \
|
||||
py.test-%{python2_version} -r s -k"-TestWCSvnCommandPath" testing
|
||||
popd
|
||||
%endif # with python2
|
||||
@ -170,7 +170,6 @@ popd
|
||||
%if %{with python3}
|
||||
pushd python3
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
LC_ALL="en_US.UTF-8" \
|
||||
py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing
|
||||
popd
|
||||
%endif # with python3
|
||||
@ -205,6 +204,10 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.0-2
|
||||
- Drop explicit locale setting for python3, use C.UTF-8 for python2
|
||||
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
||||
|
||||
* Sun Nov 11 2018 Thomas Moschny <thomas.moschny@gmx.de> - 1.7.0-1
|
||||
- Update to 1.7.0.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user