forked from pool/python-python-dotenv
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
e9c52f1ce4 | |||
6a73714dfd | |||
1d65a77f1e | |||
d45fbd46cb |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 14 13:01:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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,12 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# rubygem-dotenv also provides executable dotenv
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-python-dotenv
|
Name: python-python-dotenv
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
@@ -40,14 +34,10 @@ BuildRequires: %{python_module sh >= 2.0}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with libalternatives}
|
Requires: python-click >= 5.0
|
||||||
BuildRequires: alts
|
# rubygem-dotenv also provides executable dotenv
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
|
||||||
Requires: python-click >= 5.0
|
|
||||||
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
|
||||||
@@ -82,9 +72,6 @@ $python -m pytest -v -k "not ipython"
|
|||||||
}
|
}
|
||||||
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv
|
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative dotenv
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative dotenv
|
%python_install_alternative dotenv
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user