Name: python3-jinjanator Version: 25.3.1 Release: %autorelease Summary: Command-line interface to Jinja2 for templating in shell scripts. License: Apache-2.0 URL: https://github.com/kpfleming/jinjanator Source: %{pypi_source jinjanator} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This is package 'jinjanator' generated automatically by pyp2spec.} %description %_description # REMOVED: Redundant %package and %description blocks that caused the collision %prep %autosetup -p1 -n jinjanator-%{version} # --- FIX: Relax strict hatchling version pin (<1.27) --- # Fedora 43 has hatchling >= 1.27, so we remove the restriction. sed -i 's/hatchling<1.27/hatchling/' pyproject.toml # ------------------------------------------------------- %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files '*' +auto %check %_pyproject_check_import_allow_no_modules -t # FIX: Removed '-n python3-jinjanator' so it applies to the main package %files -f %{pyproject_files} %changelog %autochangelog