From f8411b6d5961bef75a05fad1677346b7445fbd752fbf4ca606d1c5e45ebd52ce Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 23 Mar 2019 18:54:39 +0000 Subject: [PATCH] - fix build on older distributions OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=28 --- python-rsa.changes | 5 +++++ python-rsa.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-rsa.changes b/python-rsa.changes index 4b68c9a..332c3bd 100644 --- a/python-rsa.changes +++ b/python-rsa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 23 18:54:24 UTC 2019 - Dirk Mueller + +- fix build on older distributions + ------------------------------------------------------------------- Sat Feb 16 13:51:23 UTC 2019 - John Vandenberg diff --git a/python-rsa.spec b/python-rsa.spec index cdbd30e..c2b2d9c 100644 --- a/python-rsa.spec +++ b/python-rsa.spec @@ -50,9 +50,11 @@ PKCS#1 version 1.5. %setup -q -n rsa-%{version} %build +export LC_ALL=en_US.utf8 %python_build %install +export LC_ALL=en_US.utf8 %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -71,6 +73,7 @@ PKCS#1 version 1.5. %if %{with tests} %check +export LC_ALL=en_US.utf8 %python_exec setup.py test %endif