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