From 2ee3d539182fd78e896c02ae490fa1f61c272ba96d796b5e43c872a0aa3a2166 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 19 Jun 2019 07:29:45 +0000 Subject: [PATCH] - 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 --- python-sphinxcontrib-programoutput.changes | 8 ++++++++ python-sphinxcontrib-programoutput.spec | 2 ++ 2 files changed, 10 insertions(+) diff --git a/python-sphinxcontrib-programoutput.changes b/python-sphinxcontrib-programoutput.changes index 10c04f5..e8e3717 100644 --- a/python-sphinxcontrib-programoutput.changes +++ b/python-sphinxcontrib-programoutput.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jun 19 07:28:43 UTC 2019 - Thomas Bechtold + +- 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 diff --git a/python-sphinxcontrib-programoutput.spec b/python-sphinxcontrib-programoutput.spec index a367c59..8739e68 100644 --- a/python-sphinxcontrib-programoutput.spec +++ b/python-sphinxcontrib-programoutput.spec @@ -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}