| |
@@ -1,6 +1,6 @@
|
| |
Name: python-dotenv
|
| |
Version: 0.14.0
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: Add .env support to your Django/Flask apps in development and deployments
|
| |
|
| |
License: BSD
|
| |
@@ -21,7 +21,8 @@
|
| |
|
| |
%package -n python3-dotenv
|
| |
Summary: %{summary}
|
| |
- Requires: python3-click
|
| |
+ %{!?python_extras_subpkg:Requires: python3-click}
|
| |
+ %{?python_extras_subpkg:Recommends: python3-dotenv+cli}
|
| |
%{?python_provide:%python_provide python3-dotenv}
|
| |
|
| |
%description -n python3-dotenv
|
| |
@@ -49,12 +50,17 @@
|
| |
%files -n python3-dotenv
|
| |
%license LICENSE
|
| |
%doc README.md
|
| |
- %{_bindir}/dotenv
|
| |
%{python3_sitelib}/dotenv/
|
| |
%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
|
| |
|
| |
+ %{?python_extras_subpkg:%{python_extras_subpkg -n python3-dotenv -i %{python3_sitelib}/*.egg-info cli}}
|
| |
+ %{_bindir}/dotenv
|
| |
+
|
| |
|
| |
%changelog
|
| |
+ * Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-2
|
| |
+ - Add python-dotenv[cli] subpackage with /usr/bin/dotenv
|
| |
+
|
| |
* Thu Jul 09 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-1
|
| |
- Update to 0.14.0
|
| |
- Fixes rhbz#1709002
|
| |