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
This commit is contained in:
@@ -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 <zhengjunjie@iscas.ac.cn>
|
||||
#
|
||||
# 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}
|
||||
Reference in New Issue
Block a user