Allow current releases of zerocopy (0.7.x)

epel10 imports/epel10/rust-half-2.4.1-3.el10
Benjamin A. Beasley 5 months ago
parent 8c61bd2553
commit 7baeff0293

@ -1,5 +1,5 @@
--- half-2.4.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ half-2.4.1/Cargo.toml 2024-04-16T11:13:05.272246+00:00
+++ half-2.4.1/Cargo.toml 2024-09-15T05:57:07.275924+00:00
@@ -111,5 +111,3 @@
std = ["alloc"]
use-intrinsics = []

@ -1,12 +1,16 @@
--- half-2.4.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ half-2.4.1/Cargo.toml 2024-04-16T11:14:00.026530+00:00
@@ -86,9 +86,6 @@
optional = true
+++ half-2.4.1/Cargo.toml 2024-09-15T05:57:16.266047+00:00
@@ -82,12 +82,9 @@
default-features = false
[dependencies.zerocopy]
-version = "0.6.0"
+version = "0.7.0"
optional = true
default-features = false
-
-[dev-dependencies.criterion]
-version = "0.4.0"
-
[dev-dependencies.crunchy]
version = "0.2.2"

@ -16,6 +16,8 @@ Source: %{crates_source}
Patch: half-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
# * allow current releases of zerocopy (0.7.x):
# https://github.com/starkat99/half-rs/pull/114
Patch: half-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

@ -2,5 +2,6 @@
summary = "Half-precision floating point f16 and bf16 types for Rust"
cargo-toml-patch-comments = [
"drop unused, benchmark-only criterion dev-dependency",
"allow current releases of zerocopy (0.7.x): https://github.com/starkat99/half-rs/pull/114",
]

Loading…
Cancel
Save