%global srcname mkstd Name: python-%{srcname} Version: 0.0.13 Release: 1%{?dist} Summary: Generate and validate data standards from pydantic models License: BSD-3-Clause URL: https://github.com/dilpath/mkstd Source: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # %%check BuildRequires: python3-pytest %global _description %{expand: mkstd turns a pydantic model into a data standard with schemas and validators for the formats scientists exchange: JSON, YAML, XML (XSD, checked with xmlschema) and HDF5. Write the model once, export the schema, and read and write validated documents in any of the four formats. It is what libSSR uses to write EFECT reports.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname} %check %pytest -q test %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %changelog * Fri Oct 23 2026 Morgan Hough - 0.0.13-1 - Initial package: mkstd 0.0.13 (BSD-3-Clause, per LICENSE). Net-new to Fedora; needs python-oyaml and python-pydantic-numpy, added alongside. - %%check on f44: the sdist's one test file, the HDF5 round trip, gives 9 passed. The JSON, YAML and XML paths have no tests upstream; the import covers xmlschema and defusedxml.