From 81aa0626c7c25de6273e10e2337b7c7f0bf8b4bf Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 17 Mar 2022 22:52:58 +0100 Subject: [PATCH] Update to version 0.3.20; Fixes RHBZ#2064425 --- .gitignore | 1 + rust-erased-serde.spec | 21 +++++++++++---------- sources | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index b7bcf69..5fa9275 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /erased-serde-0.3.16.crate /erased-serde-0.3.17.crate /erased-serde-0.3.18.crate +/erased-serde-0.3.20.crate diff --git a/rust-erased-serde.spec b/rust-erased-serde.spec index 7a080b9..f2d21df 100644 --- a/rust-erased-serde.spec +++ b/rust-erased-serde.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * tests require files which are not shipped with published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate erased-serde Name: rust-%{crate} -Version: 0.3.18 +Version: 0.3.20 Release: %autorelease Summary: Type-erased Serialize and Serializer traits @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Type-erased Serialize and Serializer traits.} @@ -34,9 +34,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +49,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}+alloc-devel Summary: %{summary} @@ -60,7 +61,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -72,7 +73,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-debug-devel Summary: %{summary} @@ -84,7 +85,7 @@ This package contains library source intended for building other packages which use the "unstable-debug" feature of the "%{crate}" crate. %files -n %{name}+unstable-debug-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 927b6a7..a0fcb83 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (erased-serde-0.3.18.crate) = 5e5f620db1095838b414236d6a1cafc9ec9b69054e124d47d88fd5568aeca0cdb65ac8c6e8a50efd3b90c338fb4cf5171261838f7051adc1fafca647d2302952 +SHA512 (erased-serde-0.3.20.crate) = b11981c37b706de3546cc72943c4a7eb33cc7e5987d42d4759636552aee95b8eb5bd80b960755c0ec220f541e96bd598b534882d7af2571b89ce1c58ed83b000