diff --git a/.gitignore b/.gitignore index a905c50..8758f94 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /thiserror-impl-1.0.28.crate /thiserror-impl-1.0.29.crate /thiserror-impl-1.0.30.crate +/thiserror-impl-1.0.31.crate diff --git a/rust-thiserror-impl.spec b/rust-thiserror-impl.spec index 38d0f30..0e1999d 100644 --- a/rust-thiserror-impl.spec +++ b/rust-thiserror-impl.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate thiserror-impl Name: rust-%{crate} -Version: 1.0.30 +Version: 1.0.31 Release: %autorelease Summary: Implementation detail of the thiserror crate @@ -15,11 +15,8 @@ URL: https://crates.io/crates/thiserror-impl Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Implementation detail of the `thiserror` crate.} @@ -32,12 +29,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-MIT LICENSE-APACHE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,11 +43,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 95526b5..a954b37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (thiserror-impl-1.0.30.crate) = 465b1d4eb79075d8abb11f5c260d68847ea52806a2f519515705b03da376fffb3686bebb23c11462b1c59e1ae5b3ee96d834c62cac69862c491001b1ff7cbb46 +SHA512 (thiserror-impl-1.0.31.crate) = a265be50ae209775abb812f0e9b8c5af7a639514149d9f50f4a95bcedabd3666076bf7764351ea6f1836eb8a0e3c67c0b76abd26b27b0a853132fef011543e1e