From eaede5d2718db474cd048f3011fd4ca6a5f8a4b0 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Fri, 30 Aug 2024 15:13:57 +0200 Subject: [PATCH] Remove `python3-scikit-build-core+pyproject` subpackage Signed-off-by: Cristian Le --- .distro/python-scikit-build-core.spec | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.distro/python-scikit-build-core.spec b/.distro/python-scikit-build-core.spec index 3b4fef3a..a2a999aa 100644 --- a/.distro/python-scikit-build-core.spec +++ b/.distro/python-scikit-build-core.spec @@ -35,27 +35,15 @@ A next generation Python CMake adapter and Python API for plugins Summary: %{summary} Requires: cmake Recommends: (ninja-build or make) -Recommends: python3-scikit-build-core+pyproject = %{version}-%{release} Suggests: ninja-build Suggests: gcc -BuildArch: noarch -%description -n python3-scikit-build-core %_description - -# Add %%pyproject_extras_subpkg results manually because BuildArch: noarch is not injected -# https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/174 -# %%pyproject_extras_subpkg -n python3-scikit-build-core pyproject - -%package -n python3-scikit-build-core+pyproject -Summary: Metapackage for python3-scikit-build-core: pyproject extras -Requires: python3-scikit-build-core = %{?epoch:%{epoch}:}%{version}-%{release} BuildArch: noarch -%description -n python3-scikit-build-core+pyproject -This is a metapackage bringing in pyproject extras requires for -python3-scikit-build-core. -It makes sure the dependencies are installed. -%files -n python3-scikit-build-core+pyproject -f %{_pyproject_ghost_distinfo} +Provides: python3-scikit-build-core+pyproject = %{version}-%{release} +Obsoletes: python3-scikit-build-core+pyproject < 0.11.0-1 + +%description -n python3-scikit-build-core %_description %prep @@ -63,7 +51,7 @@ It makes sure the dependencies are installed. %generate_buildrequires -%pyproject_buildrequires -x pyproject%{?with_tests:,test,test-meta,test-numpy} +%pyproject_buildrequires %{?with_tests:-x test,test-meta,test-numpy} %build