|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate once_cell
|
|
|
|
|
|
|
|
|
|
Name: rust-once_cell
|
|
|
|
|
Version: 1.15.0
|
|
|
|
|
Version: 1.20.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Single assignment cells and lazy values
|
|
|
|
|
|
|
|
|
@ -13,9 +13,7 @@ License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/once_cell
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Single assignment cells and lazy values.}
|
|
|
|
@ -62,6 +60,30 @@ use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+atomic-polyfill-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+atomic-polyfill-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "atomic-polyfill" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+atomic-polyfill-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+critical-section-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+critical-section-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "critical-section" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+critical-section-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+parking_lot-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -74,16 +96,16 @@ 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
|
|
|
|
|
%package -n %{name}+portable-atomic-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+parking_lot_core-devel %{_description}
|
|
|
|
|
%description -n %{name}+portable-atomic-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "parking_lot_core" feature of the "%{crate}" crate.
|
|
|
|
|
use the "portable-atomic" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+parking_lot_core-devel
|
|
|
|
|
%files -n %{name}+portable-atomic-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+race-devel
|
|
|
|
@ -123,7 +145,7 @@ use the "unstable" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|