Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b32ae3bf40 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 11 12:43:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make the libalternatives transition conditional
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 12:19:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 4 09:43:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Fri Apr 4 09:43:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-alembic
|
Name: python-alembic
|
||||||
Version: 1.15.2
|
Version: 1.15.2
|
||||||
@@ -41,9 +46,14 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-Mako
|
Requires: python-Mako
|
||||||
Requires: python-SQLAlchemy >= 2.0.0
|
Requires: python-SQLAlchemy >= 2.0.0
|
||||||
Requires: python-typing-extensions >= 4
|
Requires: python-typing-extensions >= 4
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
%endif
|
||||||
%if 0%{?python_version_nodots} < 39
|
%if 0%{?python_version_nodots} < 39
|
||||||
Requires: python-importlib-metadata
|
Requires: python-importlib-metadata
|
||||||
Requires: python-importlib-resources
|
Requires: python-importlib-resources
|
||||||
@@ -77,6 +87,9 @@ offers the following functionality:
|
|||||||
%check
|
%check
|
||||||
%pytest -n auto
|
%pytest -n auto
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative alembic
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative alembic
|
%python_install_alternative alembic
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user