forked from pool/python-alembic
Accepting request 1286097 from devel:languages:python
- Convert to libalternatives OBS-URL: https://build.opensuse.org/request/show/1286097 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-alembic?expand=0&rev=86
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-alembic
|
||||
Version: 1.15.2
|
||||
@@ -36,13 +37,13 @@ BuildRequires: %{python_module pytzdata}
|
||||
BuildRequires: %{python_module typing-extensions >= 4}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Requires: python-Mako
|
||||
Requires: python-SQLAlchemy >= 2.0.0
|
||||
Requires: python-typing-extensions >= 4
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if 0%{?python_version_nodots} < 39
|
||||
Requires: python-importlib-metadata
|
||||
@@ -77,11 +78,8 @@ offers the following functionality:
|
||||
%check
|
||||
%pytest -n auto
|
||||
|
||||
%post
|
||||
%python_install_alternative alembic
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative alembic
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative alembic
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user