# SPDX-FileCopyrightText: William Moreno Reyes # SPDX-License-Identifier: Apache-2.0 %global debug_package %{nil} %global tag_version %(echo %{version} | tr '.' '_') Name: python3-alembic Version: 1.18.4 Release: 6%{?dist} Summary: A database migration tool for SQLAlchemy License: MIT URL: https://alembic.sqlalchemy.org/ Source0: https://github.com/sqlalchemy/alembic/archive/refs/tags/rel_%{tag_version}/alembic-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: pyproject-rpm-macros Requires: python3-sqlalchemy >= 1.4.23 Requires: python3-mako Requires: python3-typing-extensions >= 4.12 %description Alembic is a lightweight database migration tool for SQLAlchemy that makes it simple to create and manage database schema versions. %prep %autosetup -n alembic-rel_%{tag_version} cat > setup.cfg <= 10 || 0%{?fedora}) && !0%{?amzn} %{_bindir}/alembic %endif %changelog * Tue Jun 23 2026 William Moreno Reyes - 1.18.4-6 - Add explicit BuildRequires: python3-setuptools for EL10 compatibility * Tue Jun 23 2026 William Moreno Reyes - 1.18.4-5 - Migrate to pyproject-rpm-macros and fix source directory name * Tue Jun 23 2026 William Moreno Reyes - 1.18.4-4 - Migrate from wheel to source build, use GitHub archive for source * Tue Jun 16 2026 William Moreno Reyes - 1.18.4-3 - Rebuild for admiral 0.0.1alpha7 * Tue Jun 09 2026 Admiral Project - 1.18.4-1 - Updated for compatibility with flask-alembic 3.1.1+