%global pypi_name django-crispy-forms %global pypi_dist django_crispy_forms %global modname crispy_forms Name: python-%{pypi_name} Version: 2.7 Release: 1%{?dist} Summary: Best way to have Django DRY forms License: MIT URL: https://github.com/django-crispy-forms/django-crispy-forms Source0: %{pypi_source %{pypi_dist} %{version}} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: django-crispy-forms lets you control the rendering behavior of your Django forms in a very elegant and DRY way, with template packs for Bootstrap and other CSS frameworks. This COPR-local update bumps Fedora's python3-django-crispy-forms (which ships 1.14.0) to the current 2.x series. django-crispy-forms>=2.3 is required by crispy-bootstrap5, a runtime dependency of TOM Toolkit; `dnf repoquery --whatrequires python3-django-crispy-forms` showed no reverse dependencies in Fedora 44 as of this packaging, so this update is carried here rather than filed against Fedora's own package.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} Requires: python3-django >= 5.2 %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_dist}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{modname} # No %%check import: crispy_forms.templatetags / crispy_forms.helper touch # the Django app registry at import time and require a configured # DJANGO_SETTINGS_MODULE, unavailable in the plain rpmbuild %%check sandbox. %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE.txt %doc README.rst %changelog * Mon Aug 24 2026 Morgan Hough - 2.7-1 - Update to 2.7 (COPR-local bump past Fedora's 1.14.0) so crispy-bootstrap5 (django-crispy-forms>=2.3, TOM Toolkit dependency) can be satisfied. No reverse dependencies on python3-django-crispy-forms found in Fedora 44.