From d6e7b4573dc0cd941b5379040d24c2a76aeffc06 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 7 Jul 2022 22:00:37 +0200 Subject: [PATCH] Update to version 0.13.4 --- .gitignore | 1 + rust-darling_core.spec | 18 +++++++++--------- sources | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 81ae43e..4a4e5c5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /darling_core-0.10.3.crate /darling_core-0.12.2.crate /darling_core-0.13.1.crate +/darling_core-0.13.4.crate diff --git a/rust-darling_core.spec b/rust-darling_core.spec index f62b9a9..f1bbec4 100644 --- a/rust-darling_core.spec +++ b/rust-darling_core.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate darling_core Name: rust-%{crate} -Version: 0.13.1 +Version: 0.13.4 Release: %autorelease Summary: Helper crate for proc-macro library for reading attributes into structs @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Helper crate for proc-macro library for reading attributes into structs when @@ -34,8 +34,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +47,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+diagnostics-devel Summary: %{summary} @@ -59,7 +59,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+strsim-devel Summary: %{summary} @@ -71,7 +71,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+suggestions-devel Summary: %{summary} @@ -83,7 +83,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 71f3794..b862267 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (darling_core-0.13.1.crate) = 67fd1bf5059c6b7ea1b2b17b6f7bcc1ea6a9f84f50182852b2b8b9601b8d43529918b373dacb9b2a7aa12fe6162a9412d1330ce6e9ab6a3e2171f6072d958711 +SHA512 (darling_core-0.13.4.crate) = 96d431ebfb9d13aaff2c50f7ad7d5ac5e95813fac851e3e1d7739d1fd5b366fda32172829af88cabadb475f83b4500199167ede54bc802ca1e52137cf6c16c0f