Compare commits

...

5 Commits

2
.gitignore vendored

@ -7,3 +7,5 @@
/half-1.7.1.crate
/half-1.8.2.crate
/half-2.3.1.crate
/half-2.4.0.crate
/half-2.4.1.crate

@ -1,6 +1,6 @@
--- half-2.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ half-2.3.1/Cargo.toml 2023-10-14T20:41:06.915241+00:00
@@ -107,5 +107,3 @@
--- half-2.4.1/Cargo.toml 1970-01-01T00:00:01+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,17 +1,16 @@
--- half-2.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ half-2.3.1/Cargo.toml 2023-10-14T20:41:18.538289+00:00
@@ -77,14 +77,6 @@
optional = true
--- half-2.4.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ half-2.4.1/Cargo.toml 2024-09-15T05:57:16.266047+00:00
@@ -82,12 +82,9 @@
default-features = false
-[dependencies.zerocopy]
[dependencies.zerocopy]
-version = "0.6.0"
-optional = true
-default-features = false
+version = "0.7.0"
optional = true
default-features = false
-
-[dev-dependencies.criterion]
-version = "0.4.0"
-
[dev-dependencies.crunchy]
version = "0.2.2"

@ -1,11 +1,11 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate half
Name: rust-half
Version: 2.3.1
Version: 2.4.1
Release: %autorelease
Summary: Half-precision floating point f16 and bf16 types for Rust
@ -15,8 +15,9 @@ Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: half-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unused zerocopy feature (missing dependencies)
# * drop unused benchmark-only criterion dependency
# * 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
@ -102,6 +103,18 @@ use the "rand_distr" feature of the "%{crate}" crate.
%files -n %{name}+rand_distr-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rkyv-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rkyv-devel %{_description}
This package contains library source intended for building other packages which
use the "rkyv" feature of the "%{crate}" crate.
%files -n %{name}+rkyv-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
@ -138,6 +151,18 @@ use the "use-intrinsics" feature of the "%{crate}" crate.
%files -n %{name}+use-intrinsics-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zerocopy-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zerocopy-devel %{_description}
This package contains library source intended for building other packages which
use the "zerocopy" feature of the "%{crate}" crate.
%files -n %{name}+zerocopy-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep

@ -1,3 +1,7 @@
[package]
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",
]

@ -1 +1 @@
SHA512 (half-2.3.1.crate) = b29acbca7b8f8fed6392346d03c710dad0f51cb2e358e7ea74a3aad4e10ffd22edb4154a56f877adc375da831a7597b51f7049335c0781a1b1110103e5eafc35
SHA512 (half-2.4.1.crate) = 0bce235583ca128723186e1fb50f636b519bf826c942f02c5b969db4117baa87c644665c541991c16d1f1dd97c7233c017a513d45075fc72c5d99ccc7c1ac193

Loading…
Cancel
Save