From 1d80ba880223b512a113f1e48bb6ea6741a03877 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 May 2022 23:02:35 +0200 Subject: [PATCH] Fix missing subpackage for the optional parking_lot_core feature --- rust-once_cell.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rust-once_cell.spec b/rust-once_cell.spec index 54f71a1..fcf9167 100644 --- a/rust-once_cell.spec +++ b/rust-once_cell.spec @@ -75,6 +75,18 @@ use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+parking_lot_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parking_lot_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "parking_lot_core" feature of the "%{crate}" crate. + +%files -n %{name}+parking_lot_core-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+race-devel Summary: %{summary} BuildArch: noarch