From 5289b4351e3f86bbe3913b46512b50e6b0d6854b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 3 Aug 2021 16:06:18 +0200 Subject: [PATCH] Update to version 3.2.0; Fixes RHBZ#1935094 --- .gitignore | 1 + rust-system-deps.spec | 12 ++++-------- sources | 2 +- system-deps-fix-metadata.diff | 24 ------------------------ 4 files changed, 6 insertions(+), 33 deletions(-) delete mode 100644 system-deps-fix-metadata.diff diff --git a/.gitignore b/.gitignore index dadac23..f8a8e4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /system-deps-1.3.2.crate +/system-deps-3.2.0.crate diff --git a/rust-system-deps.spec b/rust-system-deps.spec index 0dba69b..517cd28 100644 --- a/rust-system-deps.spec +++ b/rust-system-deps.spec @@ -1,23 +1,19 @@ -# Generated by rust2rpm 16 -# Testing requires a sub-crate that is not published. +# Generated by rust2rpm 18 +# * files required by tests are not shipped with published crates %bcond_with check %global debug_package %{nil} %global crate system-deps Name: rust-%{crate} -Version: 1.3.2 +Version: 3.2.0 Release: %autorelease Summary: Declarative dependencies in Cargo.toml -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/system-deps Source: %{crates_source} -# Initial patched metadata -# * bump version-compare from 0.0.10 to 0.0.11 (already upstream) -# * Bump strum and strum_macros to 0.21 (already upstream) -Patch0: system-deps-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/sources b/sources index bfbaf0c..4b86379 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (system-deps-1.3.2.crate) = ce988079e746891670fb1c4c7d3143b4f4fa7406c9d22d1a3ae9f9d28ce0c2d2bed7e1561cb596b8f32380e9f16a0ab99ef76464e1d80415212c32aab013e9bf +SHA512 (system-deps-3.2.0.crate) = a6523e726e0cd1c23954eaeaad764bac7888b8850ae3328cbd70c31eb37c5f2573c4857c4628ad52afb169f1914ceb826d8d4fd4924e7a3ce10b512390b7c45c diff --git a/system-deps-fix-metadata.diff b/system-deps-fix-metadata.diff deleted file mode 100644 index 68c1894..0000000 --- a/system-deps-fix-metadata.diff +++ /dev/null @@ -1,24 +0,0 @@ ---- system-deps-1.3.2/Cargo.toml 2020-07-10T07:53:27+00:00 -+++ system-deps-1.3.2/Cargo.toml 2021-06-17T18:02:06.238944+00:00 -@@ -28,10 +28,10 @@ - version = "0.3.8" - - [dependencies.strum] --version = "0.18" -+version = "0.21" - - [dependencies.strum_macros] --version = "0.18" -+version = "0.21" - - [dependencies.thiserror] - version = "1" -@@ -41,7 +41,7 @@ - default-features = false - - [dependencies.version-compare] --version = "0.0.10" -+version = "0.0.11" - [dev-dependencies.itertools] - version = "0.9" -