From bd707d14e48d6c9b74e59a3becaa641d34a29e15 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 8 Aug 2022 16:07:00 +0200 Subject: [PATCH] Update to version 0.4.9; Fixes RHBZ#2095864 --- .gitignore | 1 + rust-globset.spec | 62 +++++++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 38 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 90f5491..9bf09f1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /globset-0.4.6.crate /globset-0.4.7.crate /globset-0.4.8.crate +/globset-0.4.9.crate diff --git a/rust-globset.spec b/rust-globset.spec index 28ebced..bb76056 100644 --- a/rust-globset.spec +++ b/rust-globset.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate globset -Name: rust-%{crate} -Version: 0.4.8 +Name: rust-globset +Version: 0.4.9 Release: %autorelease Summary: Cross platform single glob and glob set matching -# Upstream license specification: Unlicense/MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/globset Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Cross platform single glob and glob set matching. Glob set matching is the @@ -34,13 +30,15 @@ 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 UNLICENSE LICENSE-MIT COPYING -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYING +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,11 +46,23 @@ 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}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -60,11 +70,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} @@ -72,11 +82,11 @@ BuildArch: noarch %description -n %{name}+serde1-devel %{_description} -This package contains library source intended for building other packages -which use "serde1" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simd-accel-devel Summary: %{summary} @@ -84,11 +94,11 @@ BuildArch: noarch %description -n %{name}+simd-accel-devel %{_description} -This package contains library source intended for building other packages -which use "simd-accel" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "simd-accel" feature of the "%{crate}" crate. %files -n %{name}+simd-accel-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 65a3a1f..4b0a236 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (globset-0.4.8.crate) = 1a1fb9731d310ced63742b2c6f7ef7f414c89780751d9881859a6e6fbc512e91bc23c91e3743bb36114dcef6dc1962fd376d67bc536752ba6a8a2fda7aa80bec +SHA512 (globset-0.4.9.crate) = 66841495098b028b8d294c0832276b8864760df3a16b93b57222037c351591ac7773a99a65b85a20c438fbfc04c56ea4901188cb18ed470d3481eeef29eab708