From ded1d786caa714c6c45d8022cd1547bdd25b84a0 Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Mon, 2 Mar 2026 18:04:59 +0800 Subject: [PATCH] init import wget https://diamond.oerv.ac.cn/openruyi/riscv64/src/python-build-1.3.0-1.18.or.src.rpm rpm2cpio python-build-1.3.0-1.18.or.src.rpm | cpio -ivd *.spec --- python-build.spec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 python-build.spec diff --git a/python-build.spec b/python-build.spec new file mode 100644 index 0000000..c77160c --- /dev/null +++ b/python-build.spec @@ -0,0 +1,38 @@ +# 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 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. + +%generate_buildrequires +%pyproject_buildrequires + +%files -f %{pyproject_files} +%doc README* +%license LICENSE +%changelog +%{?autochangelog}