forked from pool/python-alembic
Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b8ae99a05b | |||
| 178a1bb78f | |||
| e4fd8ef792 | |||
| 6020932414 | |||
| 6a1c2d7825 | |||
| c6c000eada | |||
| 070ff8df28 | |||
| 7d861e46ab | |||
| 1758204b1a | |||
| 5a2f0ae1c0 | |||
| 40b7455334 | |||
| 151458f6b5 |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%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
|
||||||
@@ -46,14 +41,9 @@ 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
|
||||||
%endif
|
BuildArch: noarch
|
||||||
%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
|
||||||
@@ -87,9 +77,6 @@ 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