From 90ce8f31b0ce99c1edb27d7ac779b08b066d5fa1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 7 Aug 2023 15:41:55 +0200 Subject: [PATCH] Update to version 0.7.1 --- README.md | 3 --- num-bigint-dig-fix-metadata.diff | 16 ---------------- rust-num-bigint-dig.spec | 14 ++++---------- rust2rpm.conf | 3 +++ sources | 2 +- 5 files changed, 8 insertions(+), 30 deletions(-) delete mode 100644 README.md delete mode 100644 num-bigint-dig-fix-metadata.diff create mode 100644 rust2rpm.conf diff --git a/README.md b/README.md deleted file mode 100644 index e094dd2..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-num-bigint-dig - -The rust-num-bigint-dig package \ No newline at end of file diff --git a/num-bigint-dig-fix-metadata.diff b/num-bigint-dig-fix-metadata.diff deleted file mode 100644 index edd29ed..0000000 --- a/num-bigint-dig-fix-metadata.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- num-bigint-dig-0.7.0/Cargo.toml 2021-03-09T13:33:58+00:00 -+++ num-bigint-dig-0.7.0/Cargo.toml 2022-03-14T15:54:56.726640+00:00 -@@ -85,12 +85,11 @@ - [dev-dependencies.serde_test] - version = "1.0" - [build-dependencies.autocfg] --version = "0.1.5" -+version = "1.0.0" - - [features] - default = ["std", "i128", "u64_digit"] - i128 = ["num-integer/i128", "num-traits/i128"] --nightly = [] - prime = ["rand/std_rng"] - std = ["num-integer/std", "num-traits/std", "smallvec/write", "rand/std", "serde/std"] - u64_digit = [] diff --git a/rust-num-bigint-dig.spec b/rust-num-bigint-dig.spec index 5c9d876..3291d90 100644 --- a/rust-num-bigint-dig.spec +++ b/rust-num-bigint-dig.spec @@ -1,24 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate num-bigint-dig -Name: rust-%{crate} -Version: 0.7.0 +Name: rust-num-bigint-dig +Version: 0.7.1 Release: %autorelease Summary: Big integer implementation for Rust # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-bigint-dig Source: %{crates_source} -# Initial patched metadata -# * bump autocfg from 0.1.5 to 1.0.0 -# * drop unused / unsupported nightly feature -Patch0: num-bigint-dig-fix-metadata.diff - -ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..1715b93 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + nightly diff --git a/sources b/sources index de5689f..d8d34bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-bigint-dig-0.7.0.crate) = 984fa9094dd16bbef9014eaf58d06df9b43eedec936bd1b1aea51e690bc2d3b1ee91d3a7781cadd9a51a38c7c8653ab3e0208c9fbcda322ca035f81326dcf090 +SHA512 (num-bigint-dig-0.7.1.crate) = c889526e98ad679353870e2873f3721a1350814763ae3b57d7fbd2abe919fe3246efb4a909b8f81ddda3d2e80063ccc1ebab923d224e0747630ec22d4949675b