Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent a4d0cf77ab
commit 6a85b27a7a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-half
The rust-half package

@ -1,5 +1,5 @@
--- half-1.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 --- half-1.8.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ half-1.8.2/Cargo.toml 2021-11-06T13:30:08.723428+00:00 +++ half-1.8.2/Cargo.toml 2023-06-07T20:10:17.220037+00:00
@@ -46,13 +46,6 @@ @@ -46,13 +46,6 @@
optional = true optional = true
default-features = false default-features = false

@ -1,33 +1,27 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate half %global crate half
Name: rust-%{crate} Name: rust-half
Version: 1.8.2 Version: 1.8.2
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
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/half URL: https://crates.io/crates/half
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * drop unused zerocopy feature (missing dependencies) # * drop unused zerocopy feature (missing dependencies)
# * drop unused benchmark-only criterion dependency to speed up builds # * drop unused benchmark-only criterion dependency to speed up builds
Patch0: half-fix-metadata.diff Patch: half-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Half-precision floating point f16 and bf16 types for Rust implementing the IEEE Half-precision floating point f16 and bf16 types for Rust implementing
754-2008 standard binary16 and bfloat16 types.} the IEEE 754-2008 standard binary16 and bfloat16 types.}
%description %{_description} %description %{_description}
@ -37,13 +31,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE LICENSES/MIT.txt LICENSES/Apache-2.0.txt %license %{crate_instdir}/LICENSE
%doc README.md CHANGELOG.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,11 +46,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -63,11 +58,11 @@ BuildArch: noarch
%description -n %{name}+alloc-devel %{_description} %description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "alloc" feature of "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytemuck-devel %package -n %{name}+bytemuck-devel
Summary: %{summary} Summary: %{summary}
@ -75,11 +70,11 @@ BuildArch: noarch
%description -n %{name}+bytemuck-devel %{_description} %description -n %{name}+bytemuck-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "bytemuck" feature of "%{crate}" crate. use the "bytemuck" feature of the "%{crate}" crate.
%files -n %{name}+bytemuck-devel %files -n %{name}+bytemuck-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+num-traits-devel %package -n %{name}+num-traits-devel
Summary: %{summary} Summary: %{summary}
@ -87,11 +82,11 @@ BuildArch: noarch
%description -n %{name}+num-traits-devel %{_description} %description -n %{name}+num-traits-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "num-traits" feature of "%{crate}" crate. use the "num-traits" feature of the "%{crate}" crate.
%files -n %{name}+num-traits-devel %files -n %{name}+num-traits-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -99,11 +94,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serialize-devel %package -n %{name}+serialize-devel
Summary: %{summary} Summary: %{summary}
@ -111,11 +106,11 @@ BuildArch: noarch
%description -n %{name}+serialize-devel %{_description} %description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serialize" feature of "%{crate}" crate. use the "serialize" feature of the "%{crate}" crate.
%files -n %{name}+serialize-devel %files -n %{name}+serialize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -123,11 +118,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+use-intrinsics-devel %package -n %{name}+use-intrinsics-devel
Summary: %{summary} Summary: %{summary}
@ -135,11 +130,11 @@ BuildArch: noarch
%description -n %{name}+use-intrinsics-devel %{_description} %description -n %{name}+use-intrinsics-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "use-intrinsics" feature of "%{crate}" crate. use the "use-intrinsics" feature of the "%{crate}" crate.
%files -n %{name}+use-intrinsics-devel %files -n %{name}+use-intrinsics-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -0,0 +1,2 @@
[DEFAULT]
summary = Half-precision floating point f16 and bf16 types for Rust
Loading…
Cancel
Save