|
|
|
@ -1,26 +1,24 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate crossbeam-epoch
|
|
|
|
|
|
|
|
|
|
Name: rust-crossbeam-epoch
|
|
|
|
|
Version: 0.9.15
|
|
|
|
|
Version: 0.9.17
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Epoch-based garbage collection
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/crossbeam-epoch
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: crossbeam-epoch-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unstable-only dependency on loom
|
|
|
|
|
Patch: crossbeam-epoch-fix-metadata.diff
|
|
|
|
|
# * remove redundant clone() call to fix builds with Rust 1.73+
|
|
|
|
|
Patch: 0001-Remove-redundant-clone-call-to-fix-builds-with-Rust-.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Epoch-based garbage collection.}
|
|
|
|
@ -92,7 +90,7 @@ use the "std" 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
|
|
|
|
|