# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS) # SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors # SPDX-FileContributor: Zheng Junjie # # SPDX-License-Identifier: MulanPSL-2.0 %global extras 1 %global srcname build Name: python-%{srcname} Version: 1.3.0 Release: 1.18%{?dist} License: MIT URL: https://pypa-build.readthedocs.io/en/latest/ Summary: Simple Python PEP 517 package builder Provides: python3-%{srcname} %python_provide python3-%{srcname} #!RemoteAsset Source0: https://files.pythonhosted.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildSystem: pyproject BuildOption(install): build +auto %description The @command{build} command invokes the PEP 517 hooks to build a distribution package. It is a simple build tool and does not perform any dependency management. It aims to keep dependencies to a minimum, in order to make bootstrapping easier. %pyproject_extras_subpkg -n python-build virtualenv %generate_buildrequires %pyproject_buildrequires "-x virtualenv" %files -f %{pyproject_files} %doc README* %license LICENSE %changelog %{?autochangelog}