From 6bf79e1529ce89639c9a8da8de17359e281c06ed Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Jan 2023 22:32:20 +0100 Subject: [PATCH] Update to version 0.4.3; Fixes RHBZ#2162533 --- .gitignore | 1 + rust-num-complex.spec | 35 ++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 30 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5b35619..5875bdd 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /num-complex-0.3.1.crate /num-complex-0.4.0.crate /num-complex-0.4.1.crate +/num-complex-0.4.3.crate diff --git a/rust-num-complex.spec b/rust-num-complex.spec index 1e140e5..71eeafd 100644 --- a/rust-num-complex.spec +++ b/rust-num-complex.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate num-complex -Name: rust-%{crate} -Version: 0.4.1 +Name: rust-num-complex +Version: 0.4.3 Release: %autorelease Summary: Complex numbers implementation for Rust -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-complex Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -51,6 +48,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+bytecheck-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bytecheck-devel %{_description} + +This package contains library source intended for building other packages which +use the "bytecheck" feature of the "%{crate}" crate. + +%files -n %{name}+bytecheck-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+bytemuck-devel Summary: %{summary} BuildArch: noarch @@ -87,6 +96,18 @@ use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-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 diff --git a/sources b/sources index 32a3b81..bd327f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-complex-0.4.1.crate) = 7d6a5b5d70c0558d7dc305b20dbdccb48351935c73832c8de96b48a7843e9cf55da1a036ddadafc072c43ddcd3f4dcfca38e1660c1e3178d9835310ab6e8d40f +SHA512 (num-complex-0.4.3.crate) = 64f1e6ee49f162a190b9aaccdebdf5d4f1712645eebda7877437f58859c5d8d4cfd10b67a39098dc964f9c842909b10e222aa8a2159575a7bb19352f753d3d99