From 11a921986eacc4fabc574fc5eb6293f299d3370e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 11:34:57 +0200 Subject: [PATCH] Update to version 0.4.3; Fixes RHBZ#2068972 --- .gitignore | 1 + rust-tendril.spec | 44 +++++++++++++++++++++----------------------- sources | 2 +- 3 files changed, 23 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 2846843..36aa5c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /tendril-0.4.1.crate /tendril-0.4.2.crate +/tendril-0.4.3.crate diff --git a/rust-tendril.spec b/rust-tendril.spec index daee7c7..c20a896 100644 --- a/rust-tendril.spec +++ b/rust-tendril.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate tendril Name: rust-%{crate} -Version: 0.4.2 +Version: 0.4.3 Release: %autorelease Summary: Compact buffer/string type for zero-copy parsing @@ -15,11 +15,8 @@ URL: https://crates.io/crates/tendril Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Compact buffer/string type for zero-copy parsing.} @@ -32,13 +29,14 @@ 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-MIT LICENSE-APACHE -%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} @@ -46,11 +44,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bench-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+bench-devel %{_description} -This package contains library source intended for building other packages -which use "bench" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "bench" feature of the "%{crate}" crate. %files -n %{name}+bench-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+encoding-devel Summary: %{summary} @@ -70,11 +68,11 @@ BuildArch: noarch %description -n %{name}+encoding-devel %{_description} -This package contains library source intended for building other packages -which use "encoding" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "encoding" feature of the "%{crate}" crate. %files -n %{name}+encoding-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+encoding_rs-devel Summary: %{summary} @@ -82,11 +80,11 @@ BuildArch: noarch %description -n %{name}+encoding_rs-devel %{_description} -This package contains library source intended for building other packages -which use "encoding_rs" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "encoding_rs" feature of the "%{crate}" crate. %files -n %{name}+encoding_rs-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 ffafdb0..04131b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tendril-0.4.2.crate) = 84cce485442a2e1ee6f8806a20dff038b1ff446d22ecfc9865c9ec8bcd209afe0748c7dd31f89c45cd5fd98e34abc1faf3c7a21b6d4bd5863e53d295bb700b3f +SHA512 (tendril-0.4.3.crate) = 53f074aec6e59717fca280b1764f6c2e0a1c073336f48d012ff268a7189697d42d24a91a6a549c7d9e1fe8b0006e34c219f4dba3cc95247d3905c6f8a6a8186f