|
|
|
@ -1,20 +1,20 @@
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate spin
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.9.4
|
|
|
|
|
Name: rust-spin
|
|
|
|
|
Version: 0.9.8
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Spin-based synchronization primitives
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/spin
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
|
Patch: spin-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
@ -62,6 +62,18 @@ use the "barrier" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+barrier-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fair_mutex-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fair_mutex-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fair_mutex" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fair_mutex-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+lazy-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -122,6 +134,30 @@ use the "once" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+once-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+portable-atomic-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+portable-atomic-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "portable-atomic" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+portable-atomic-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+portable_atomic-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+portable_atomic-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "portable_atomic" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+portable_atomic-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rwlock-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|