forked from pool/python-sphinxcontrib-programoutput
- export LANG=en_US.UTF-8 during %build and %install . This fixes
the build for older distros which fail with: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position \ 1468: ordinal not in range(128) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-programoutput?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
5ef706a2bc
commit
2ee3d53918
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 07:28:43 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- export LANG=en_US.UTF-8 during %build and %install . This fixes
|
||||
the build for older distros which fail with:
|
||||
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position \
|
||||
1468: ordinal not in range(128)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 23 11:54:16 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@@ -45,9 +45,11 @@ documents, helping you to keep your command examples up to date.
|
||||
%setup -q -n sphinxcontrib-programoutput-%{version}
|
||||
|
||||
%build
|
||||
export LANG=en_US.UTF-8
|
||||
%python_build
|
||||
|
||||
%install
|
||||
export LANG=en_US.UTF-8
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
|
Reference in New Issue
Block a user