From 39ae12dafbe8cc0f4b3a7f5c2f5b7b515d5178f0 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 19 Jan 2024 10:56:04 +0000 Subject: [PATCH] Update to 0.8.4 --- rust-num-bigint-dig.spec | 35 ++++++++++++++++++++++++++++------- rust2rpm.conf | 3 --- rust2rpm.toml | 2 ++ sources | 2 +- 4 files changed, 31 insertions(+), 11 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/rust-num-bigint-dig.spec b/rust-num-bigint-dig.spec index 3291d90..5bab29f 100644 --- a/rust-num-bigint-dig.spec +++ b/rust-num-bigint-dig.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate num-bigint-dig Name: rust-num-bigint-dig -Version: 0.7.1 +Version: 0.8.4 Release: %autorelease Summary: Big integer implementation for Rust @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-bigint-dig Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Big integer implementation for Rust.} @@ -49,6 +49,30 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fuzz-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fuzz-devel %{_description} + +This package contains library source intended for building other packages which +use the "fuzz" feature of the "%{crate}" crate. + +%files -n %{name}+fuzz-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+i128-devel Summary: %{summary} BuildArch: noarch @@ -134,11 +158,8 @@ use the "zeroize" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep -# * drop torture tests, they don't compile on 32-bit architectures: -# https://github.com/dignifiedquire/num-bigint/issues/43 -rm tests/torture.rs %generate_buildrequires %cargo_generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 1715b93..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - nightly diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..0dc84c9 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,2 @@ +[features] +hide = ["nightly"] diff --git a/sources b/sources index d8d34bc..2be4bc2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-bigint-dig-0.7.1.crate) = c889526e98ad679353870e2873f3721a1350814763ae3b57d7fbd2abe919fe3246efb4a909b8f81ddda3d2e80063ccc1ebab923d224e0747630ec22d4949675b +SHA512 (num-bigint-dig-0.8.4.crate) = 88ea682c5aabc61c0cab9234e31a2dccdb5458d3bc018e1f9ccbbf0a9f09ed0053341e93bc53f65b5bee55bafe71d50bbcd48fd085ac723ef4662e15664925b8