diff --git a/.gitignore b/.gitignore index 9b1fb39..d2fffc6 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ /thiserror-1.0.65.crate /thiserror-1.0.68.crate /thiserror-1.0.69.crate +/thiserror-2.0.3.crate diff --git a/rust-thiserror.spec b/rust-thiserror.spec index cee4d24..b7b6348 100644 --- a/rust-thiserror.spec +++ b/rust-thiserror.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate thiserror Name: rust-thiserror -Version: 1.0.69 +Version: 2.0.3 Release: %autorelease Summary: Derive(Error) @@ -47,6 +47,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +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. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/sources b/sources index dbe8272..3bafefb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (thiserror-1.0.69.crate) = ef50d2867d965da1dfb29d26faf6de273b5fadf78f95313f6caf44d68bfc610b9bd4b7544200b05bb0861231cfc84e961007f8db83c7905244c492037fd31899 +SHA512 (thiserror-2.0.3.crate) = f6a8e8e1bb6d6e10edc07c35f3141b4b3ecb46b943b4879dd8f8bef0306feaa5446d8e47b24cffeb4cd6c57b4715b86b2bc0716b4ef7dfdaeb080ecd29646c9a