Compare commits
16 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9d24ca03ad | |||
| 54cf9466f4 | |||
| ad2a0457ae | |||
| 4edb95d937 | |||
| 8162c12554 | |||
| c2f8b033f2 | |||
| fd6a8cf4bd | |||
| 6ff53f34eb | |||
| 62d35ed945 | |||
| 0bbe50d04e | |||
| c62390d9df | |||
| 9a12f38e20 | |||
| 4f1af2c527 | |||
| 88fb1f0eff | |||
| 32847390cd | |||
| 13c002f005 |
@@ -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>
|
||||
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-alembic
|
||||
Version: 1.15.2
|
||||
@@ -41,9 +46,14 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-Mako
|
||||
Requires: python-SQLAlchemy >= 2.0.0
|
||||
Requires: python-typing-extensions >= 4
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%if 0%{?python_version_nodots} < 39
|
||||
Requires: python-importlib-metadata
|
||||
Requires: python-importlib-resources
|
||||
@@ -77,6 +87,9 @@ offers the following functionality:
|
||||
%check
|
||||
%pytest -n auto
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative alembic
|
||||
|
||||
%post
|
||||
%python_install_alternative alembic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user