%global pypi_name asdf-astropy %global pypi_dist asdf_astropy Name: python-%{pypi_name} Version: 0.11.0 Release: 1%{?dist} Summary: ASDF serialization support for astropy License: BSD-3-Clause URL: https://github.com/astropy/asdf-astropy Source0: %{pypi_source %{pypi_dist} %{version}} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: asdf-astropy provides ASDF serialization support for many astropy objects (Table, Time, units/quantities, models, coordinate frames) via an asdf.extensions entry point. It is a runtime dependency of gwcs and specutils, and transitively of TOM Toolkit.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} Requires: python3-asdf >= 3.3.0 Requires: python3-asdf-coordinates-schemas >= 0.4 Requires: python3-asdf-transform-schemas >= 0.6 Requires: python3-asdf-standard >= 1.1.0 Requires: python3-astropy >= 6.0 Requires: python3-numpy >= 1.26.4 Requires: python3-packaging >= 19 %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 # Exclude the bundled test suite (asdf_astropy.tests / */tests submodules) # from the import check: those modules import pytest, which is not a # runtime dependency of the library. %pyproject_check_import -e "asdf_astropy.*tests*" %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE.rst %doc README.rst %changelog * Mon Aug 24 2026 Morgan Hough - 0.11.0-1 - Initial package. Runtime dependency of gwcs, specutils (TOM Toolkit chain).