From 4c351074db144d123bbada126f248e65c40eb00c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 5 Sep 2022 16:10:21 +0200 Subject: [PATCH] Update to version 0.7.19; Fixes RHBZ#2123993 --- .gitignore | 1 + rust-aho-corasick.spec | 32 ++++++++++++++++---------------- sources | 2 +- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index f3a4427..fc264f2 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /aho-corasick-0.7.13.crate /aho-corasick-0.7.15.crate /aho-corasick-0.7.18.crate +/aho-corasick-0.7.19.crate diff --git a/rust-aho-corasick.spec b/rust-aho-corasick.spec index a848c93..d90d3d2 100644 --- a/rust-aho-corasick.spec +++ b/rust-aho-corasick.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate aho-corasick -Name: rust-%{crate} -Version: 0.7.18 +Name: rust-aho-corasick +Version: 0.7.19 Release: %autorelease Summary: Fast multiple substring searching # Upstream license specification: Unlicense/MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/aho-corasick Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast multiple substring searching.} @@ -33,12 +30,15 @@ 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 COPYING LICENSE-MIT UNLICENSE -%doc DESIGN.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYING +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%doc %{crate_instdir}/DESIGN.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +47,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}+std-devel Summary: %{summary} @@ -59,10 +59,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 86b36a8..d03f862 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aho-corasick-0.7.18.crate) = 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00 +SHA512 (aho-corasick-0.7.19.crate) = 0d63d29079650bde4e8a9f8529716b9d8c42db076a1d74715116240c2628173f1e86fb29c08a25ad07a0148e48789ab20de0c186a8b3dfb193cbfeb0d76ae78c