Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
91c8e16ecd | |||
88474efaba |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 13:08:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 14 05:41:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed May 14 05:41:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# rubygem-dotenv also provides executable dotenv
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-python-dotenv
|
Name: python-python-dotenv
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
@@ -32,12 +34,11 @@ BuildRequires: %{python_module pytest >= 3.0.5}
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module sh >= 2.0}
|
BuildRequires: %{python_module sh >= 2.0}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
Requires: python-click >= 5.0
|
Requires: python-click >= 5.0
|
||||||
# rubygem-dotenv also provides executable dotenv
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Suggests: python-jupyter_ipython
|
Suggests: python-jupyter_ipython
|
||||||
# There is a very similar Python package which also used `dotenv` namespace
|
# There is a very similar Python package which also used `dotenv` namespace
|
||||||
Conflicts: python-dotenv
|
Conflicts: python-dotenv
|
||||||
@@ -72,11 +73,8 @@ $python -m pytest -v -k "not ipython"
|
|||||||
}
|
}
|
||||||
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv
|
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%python_install_alternative dotenv
|
%python_libalternatives_reset_alternative dotenv
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative dotenv
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user