From 349fcec4f70c0cdcefa79e1b345943239b690b74 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 20 Dec 2021 18:37:24 +0100 Subject: [PATCH] Update to version 0.13.1; Fixes RHBZ#1947462 --- .gitignore | 1 + rust-darling_core.spec | 27 ++++++++++++--------------- sources | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 8669af6..81ae43e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /darling_core-0.10.2.crate /darling_core-0.10.3.crate /darling_core-0.12.2.crate +/darling_core-0.13.1.crate diff --git a/rust-darling_core.spec b/rust-darling_core.spec index 8b18fb9..f62b9a9 100644 --- a/rust-darling_core.spec +++ b/rust-darling_core.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate darling_core Name: rust-%{crate} -Version: 0.12.2 +Version: 0.13.1 Release: %autorelease Summary: Helper crate for proc-macro library for reading attributes into structs @@ -15,9 +15,6 @@ URL: https://crates.io/crates/darling_core Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,8 +30,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE @@ -46,8 +43,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+diagnostics-devel %{_description} -This package contains library source intended for building other packages -which use "diagnostics" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "diagnostics" feature of the "%{crate}" crate. %files -n %{name}+diagnostics-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+strsim-devel %{_description} -This package contains library source intended for building other packages -which use "strsim" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "strsim" feature of the "%{crate}" crate. %files -n %{name}+strsim-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -82,8 +79,8 @@ BuildArch: noarch %description -n %{name}+suggestions-devel %{_description} -This package contains library source intended for building other packages -which use "suggestions" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "suggestions" feature of the "%{crate}" crate. %files -n %{name}+suggestions-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 1961646..71f3794 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (darling_core-0.12.2.crate) = 1be39f41e9d11880806d6617760582464d424d7797da8028f03e098ec746f6756f1c828428c3f4ce235fb32d3e40569bce1524f75050cd8f10b62081c6c3037a +SHA512 (darling_core-0.13.1.crate) = 67fd1bf5059c6b7ea1b2b17b6f7bcc1ea6a9f84f50182852b2b8b9601b8d43529918b373dacb9b2a7aa12fe6162a9412d1330ce6e9ab6a3e2171f6072d958711