| |
@@ -1,6 +1,6 @@
|
| |
Name: python-dotenv
|
| |
- Version: 0.9.1
|
| |
- Release: 6%{?dist}
|
| |
+ Version: 0.13.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Add .env support to your Django/Flask apps in development and deployments
|
| |
|
| |
License: BSD
|
| |
@@ -31,6 +31,8 @@
|
| |
|
| |
%prep
|
| |
%autosetup
|
| |
+ # Use the standard library mock
|
| |
+ sed -i 's/import mock/from unittest import mock/' tests/test_*.py
|
| |
|
| |
|
| |
%build
|
| |
@@ -44,18 +46,22 @@
|
| |
%check
|
| |
export PATH=%{buildroot}%{_bindir}:$PATH
|
| |
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
| |
- %{__python3} -m pytest -v tests
|
| |
+ %{python3} -m pytest -v tests
|
| |
|
| |
|
| |
%files -n python3-dotenv
|
| |
%license LICENSE
|
| |
%doc README.md
|
| |
%{_bindir}/dotenv
|
| |
- %{python3_sitelib}/dotenv
|
| |
- %{python3_sitelib}/python_dotenv-%{version}-py?.?.egg-info
|
| |
+ %{python3_sitelib}/dotenv/
|
| |
+ %{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon May 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-1
|
| |
+ - Update to 0.13.0 (#1709002)
|
| |
+ - Fix failing tests with click 7.1 (#1830984)
|
| |
+
|
| |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
|
| |
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1709002
Fixes failing tests with click 7.1
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1830984
Fresh up the spec a tiny bit.