|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate half
|
|
|
|
%global crate half
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-half
|
|
|
|
Name: rust-half
|
|
|
|
Version: 2.3.1
|
|
|
|
Version: 2.4.1
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Half-precision floating point f16 and bf16 types for Rust
|
|
|
|
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
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
Patch: half-fix-metadata-auto.diff
|
|
|
|
Patch: half-fix-metadata-auto.diff
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused zerocopy feature (missing dependencies)
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
# * drop unused benchmark-only criterion dependency
|
|
|
|
# * allow current releases of zerocopy (0.7.x):
|
|
|
|
|
|
|
|
# https://github.com/starkat99/half-rs/pull/114
|
|
|
|
Patch: half-fix-metadata.diff
|
|
|
|
Patch: half-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
@ -102,6 +103,18 @@ use the "rand_distr" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+rand_distr-devel
|
|
|
|
%files -n %{name}+rand_distr-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%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
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -138,6 +151,18 @@ use the "use-intrinsics" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+use-intrinsics-devel
|
|
|
|
%files -n %{name}+use-intrinsics-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%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
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|