From 92275fd6b8c95faa76089ee2a659911eee62c176 Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Mon, 2 Mar 2026 18:06:27 +0800 Subject: [PATCH] add virtualenv subpkg --- python-build.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-build.spec b/python-build.spec index c77160c..0e6f0d1 100644 --- a/python-build.spec +++ b/python-build.spec @@ -4,6 +4,8 @@ # # SPDX-License-Identifier: MulanPSL-2.0 +%global extras 1 + %global srcname build Name: python-%{srcname} @@ -28,8 +30,10 @@ 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 +%pyproject_buildrequires "-x virtualenv" %files -f %{pyproject_files} %doc README*