%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.8 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 * Tue Mar 5 2024 Dongxing Wang - 2.1.8-1 - Update package with version 2.1.8 Bugfix: Can't include nested data files in built wheel. Rename tag-pattern to tag_regex in the docs. Copytree handle existing dirs. Normalize the dist info name in the wheel. Path to uri expansion in dependency string. * Fri Aug 11 2023 li-miaomiao_zhr - 2.1.5-1 - Package init