add virtualenv subpkg

This commit is contained in:
2026-03-02 18:06:27 +08:00
parent ded1d786ca
commit 92275fd6b8

View File

@@ -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*