From 1f5957dfbbff9a1eb75d1e20cbf4624e40c58530 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 12 May 2022 15:08:22 +0200 Subject: [PATCH] Update to version 0.11.6; Fixes RHBZ#2080684 --- .gitignore | 1 + rust-serde_bytes.spec | 30 ++++++++++++++---------------- sources | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 72db7ba..51d686b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /serde_bytes-0.11.3.crate /serde_bytes-0.11.4.crate /serde_bytes-0.11.5.crate +/serde_bytes-0.11.6.crate diff --git a/rust-serde_bytes.spec b/rust-serde_bytes.spec index d95a1a9..fce22b2 100644 --- a/rust-serde_bytes.spec +++ b/rust-serde_bytes.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate serde_bytes Name: rust-%{crate} -Version: 0.11.5 +Version: 0.11.6 Release: %autorelease Summary: Optimized handling of `&[u8]` and `Vec` for Serde @@ -15,11 +15,8 @@ URL: https://crates.io/crates/serde_bytes Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Optimized handling of `&[u8]` and `Vec` for Serde.} @@ -33,12 +30,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +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} @@ -47,10 +45,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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} @@ -59,10 +57,10 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use "the alloc" feature of the "%{crate}" crate. +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} @@ -71,10 +69,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 6b1b9de..7513a99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_bytes-0.11.5.crate) = f2941fa96c777732dec9fa9c2b0e59571984b89a14b868aa4817805e32525cf3818d6aab943120cfd9d6e3fb6d91ca92bd7418dd6c9ace8fc235d8999c42ecff +SHA512 (serde_bytes-0.11.6.crate) = 96eeca0bba3c52b7430592735c1a2b8f259d7180bab26c7e6d5de2c7cf491d66304c2270bacbceb5064f26fc7bc86a0c9a87c86c8e03b1cc2473a28b74888354