diff --git a/.gitignore b/.gitignore index 9196cb8..6d0c1cc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /matches-0.1.7.crate /matches-0.1.8.crate /matches-0.1.9.crate +/matches-0.1.10.crate diff --git a/rust-matches.spec b/rust-matches.spec index 02e91c0..499f1c6 100644 --- a/rust-matches.spec +++ b/rust-matches.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate matches -Name: rust-%{crate} -Version: 0.1.9 +Name: rust-matches +Version: 0.1.10 Release: %autorelease Summary: Macro to evaluate, as a boolean, whether an expression matches a pattern -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/matches Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Macro to evaluate, as a boolean, whether an expression matches a pattern.} @@ -32,12 +26,13 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,11 +40,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f33cda9..46e3ff4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (matches-0.1.9.crate) = 6a2809687d30ff04ea97bf9d1610d746e097699a4c3625ffd1b7b1e4a9673ece9d559058c9f760b99d6ab509024f7b338e7cfa6fe767499c983efa98bfb98305 +SHA512 (matches-0.1.10.crate) = 2248c6192238a8eda2dc389a5c27357555607b726d195c36c4cf647f793a4a9e17ecdf5145b5a4d8fe6eba7f9b23c7b2db1cbd553f5610d25976e3709bc2fe4d