%global srcname cyclonedx-python-lib %global _description %{expand: This Python package provides data models, validators and more, to help you create/render/read CycloneDX documents.} Name: python-%{srcname} Version: 11.7.0 Release: 1%{?dist} Summary: Python library for CycloneDX License: Apache License 2.0 URL: https://github.com/CycloneDX/cyclonedx-python-lib Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz BuildArch: noarch %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel %description -n python3-%{srcname} %{_description} %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files cyclonedx PYTHONPATH="%{buildroot}/%{python3_sitelib}" %check %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md LICENSE %changelog * Tue May 19 2026 Arkady L. Shane - 11.7.0-1 - Initial build