%global _empty_manifest_terminate_build 0 %global pypi_name pdm-backend %global _description %{expand: This is the backend for PDM projects that is fully-compatible with PEP 517 spec,\ but you can also use it alone. It reads the metadata of PEP 621 format and coverts it to Core metadata.} Name: python-%{pypi_name} Version: 2.1.5 Release: 1 Summary: The build backend used by PDM that supports latest packaging standards License: MIT URL: https://github.com/pdm-project/pdm-backend Source0: %{url}/archive/%{version}/pdm_backend-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-importlib-metadata %description %_description %package -n python3-%{pypi_name} Summary: The build backend used by PDM that supports latest packaging standards %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %_description %prep %autosetup -n pdm_backend-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/pdm/backend/ %{python3_sitelib}/pdm_backend-*.dist-info/ %changelog * Fri Aug 11 2023 li-miaomiao_zhr - 2.1.5-1 - Package init