From 44e50b1cc0879478145a20612688a52e4640a8d6100ead5ca58506e49065db89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 7 Mar 2019 16:40:33 +0000 Subject: [PATCH] Accepting request 682530 from home:jayvdb:py-check-failures - Add LANG=C.UTF-8 to %check to fix tests on Leap - Rename tarball to match name provided by PyPI OBS-URL: https://build.opensuse.org/request/show/682530 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=4 --- v0.10.1.tar.gz => python-dotenv-0.10.1.tar.gz | 0 python-python-dotenv.changes | 6 ++++++ python-python-dotenv.spec | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) rename v0.10.1.tar.gz => python-dotenv-0.10.1.tar.gz (100%) diff --git a/v0.10.1.tar.gz b/python-dotenv-0.10.1.tar.gz similarity index 100% rename from v0.10.1.tar.gz rename to python-dotenv-0.10.1.tar.gz diff --git a/python-python-dotenv.changes b/python-python-dotenv.changes index 0875a02..082f010 100644 --- a/python-python-dotenv.changes +++ b/python-python-dotenv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 7 15:42:54 UTC 2019 - John Vandenberg + +- Add LANG=C.UTF-8 to %check to fix tests on Leap +- Rename tarball to match name provided by PyPI + ------------------------------------------------------------------- Fri Feb 15 06:37:32 UTC 2019 - John Vandenberg diff --git a/python-python-dotenv.spec b/python-python-dotenv.spec index eeaedd7..b31b691 100644 --- a/python-python-dotenv.spec +++ b/python-python-dotenv.spec @@ -24,7 +24,7 @@ Summary: Python library for .env support License: BSD-3-Clause Group: Development/Languages/Python URL: http://github.com/theskumar/python-dotenv -Source: https://github.com/theskumar/python-dotenv/archive/v%{version}.tar.gz +Source: https://github.com/theskumar/python-dotenv/archive/v%{version}.tar.gz#/python-dotenv-%{version}.tar.gz BuildRequires: %{python_module click >= 5.0} BuildRequires: %{python_module jupyter_ipython} BuildRequires: %{python_module pytest >= 3.0.5} @@ -57,6 +57,7 @@ Add .env support to your Fjango/Flask apps in development and deployments. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export LANG=C.UTF-8 mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig # CLI tests require distribution to be found, and the correct executable installed export PATH=%{buildroot}%{_bindir}:$PATH