From 27019e87c412e6652a60a07c7606660bcc404dcc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 26 Sep 2020 21:27:59 +0200 Subject: [PATCH] bump strsim to 0.10 --- darling_core-fix-metadata.diff | 11 +++++++++++ rust-darling_core.spec | 20 +++++++++++++------- 2 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 darling_core-fix-metadata.diff diff --git a/darling_core-fix-metadata.diff b/darling_core-fix-metadata.diff new file mode 100644 index 0000000..8ce1fe4 --- /dev/null +++ b/darling_core-fix-metadata.diff @@ -0,0 +1,11 @@ +--- darling_core-0.10.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ darling_core-0.10.2/Cargo.toml 2020-09-26T19:23:50.491938+00:00 +@@ -30,7 +30,7 @@ + version = "1" + + [dependencies.strsim] +-version = "0.9.0" ++version = "0.10" + optional = true + + [dependencies.syn] diff --git a/rust-darling_core.spec b/rust-darling_core.spec index 78a63ce..4e9c77e 100644 --- a/rust-darling_core.spec +++ b/rust-darling_core.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 11 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.10.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Helper crate for proc-macro library for reading attributes into structs # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/darling_core Source: %{crates_source} +# Initial patched metadata +# * bump strsim from 0.9 to 0.10 +Patch0: darling_core-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+diagnostics-devel Summary: %{summary} @@ -62,7 +65,7 @@ This package contains library source intended for building other packages which use "diagnostics" feature of "%{crate}" crate. %files -n %{name}+diagnostics-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+strsim-devel Summary: %{summary} @@ -74,7 +77,7 @@ This package contains library source intended for building other packages which use "strsim" feature of "%{crate}" crate. %files -n %{name}+strsim-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+suggestions-devel Summary: %{summary} @@ -86,7 +89,7 @@ This package contains library source intended for building other packages which use "suggestions" feature of "%{crate}" crate. %files -n %{name}+suggestions-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -107,6 +110,9 @@ which use "suggestions" feature of "%{crate}" crate. %endif %changelog +* Sat Sep 26 2020 Fabio Valentini - 0.10.2-5 +- Bump strsim to 0.10. + * Sat Aug 01 2020 Fedora Release Engineering - 0.10.2-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild