%global pypi_name asdf-wcs-schemas %global pypi_dist asdf_wcs_schemas Name: python-%{pypi_name} Version: 0.5.0 Release: 1%{?dist} Summary: ASDF schemas for gwcs License: BSD-3-Clause URL: https://github.com/asdf-format/asdf-wcs-schemas Source0: %{pypi_source %{pypi_dist} %{version}} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: asdf-wcs-schemas contains ASDF schemas for validating World Coordinate System (WCS) tags produced by gwcs. It is a runtime dependency of gwcs, and transitively of TOM Toolkit. Not part of the originally requested package list, but discovered as a missing dependency of gwcs while packaging the TOM Toolkit chain.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} Requires: python3-asdf-standard >= 1.1.0 Requires: python3-asdf-transform-schemas >= 0.6.0 Requires: python3-asdf-coordinates-schemas >= 0.4.0 %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_dist}-%{version} %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires -r %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_install %pyproject_save_files %{pypi_dist} %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Mon Aug 24 2026 Morgan Hough - 0.5.0-1 - Initial package. Missing runtime dependency of python3-gwcs, discovered while packaging the TOM Toolkit chain.