From af828b672264bb6af0c9e2602b27c4b145541511d48bf9b908389b2ea08d8d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 24 Feb 2020 14:45:05 +0000 Subject: [PATCH] Accepting request 778778 from home:mcalabkova:branches:devel:languages:python * Enable python2 again since it breaks many packages - Fix locale on Leap OBS-URL: https://build.opensuse.org/request/show/778778 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=24 --- python-vcrpy.changes | 3 ++- python-vcrpy.spec | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/python-vcrpy.changes b/python-vcrpy.changes index 51d694f..8597cbe 100644 --- a/python-vcrpy.changes +++ b/python-vcrpy.changes @@ -2,7 +2,8 @@ Mon Feb 24 09:14:21 UTC 2020 - Marketa Calabkova - Added patch 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch - * Enable python2 again since it breaks many packages. + * Enable python2 again since it breaks many packages +- Fix locale on Leap ------------------------------------------------------------------- Fri Feb 7 14:58:03 UTC 2020 - Marketa Calabkova diff --git a/python-vcrpy.spec b/python-vcrpy.spec index 4f553aa..2df6543 100644 --- a/python-vcrpy.spec +++ b/python-vcrpy.spec @@ -65,15 +65,18 @@ This is a Python version of Ruby's VCR library. rm -r tests/integration %build +export LANG=en_US.UTF-8 %python_build %install +export LANG=en_US.UTF-8 %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr %check # Skip TestVCRConnection.testing_connect. Attempts # a real connection. +export LANG=en_US.UTF-8 %pytest -k "not testing_connect" %files %{python_files}