diff --git a/.gitignore b/.gitignore index b93cc22..1bd22bc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /fs-err-2.6.0.crate /fs-err-2.7.0.crate +/fs-err-2.8.1.crate diff --git a/rust-fs-err.spec b/rust-fs-err.spec index 269fa48..0d90cfa 100644 --- a/rust-fs-err.spec +++ b/rust-fs-err.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate fs-err -Name: rust-%{crate} -Version: 2.7.0 +Name: rust-fs-err +Version: 2.8.1 Release: %autorelease Summary: Drop-in replacement for std::fs with more helpful error messages # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/fs-err Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Drop-in replacement for std::fs with more helpful error messages.} @@ -33,9 +33,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +49,19 @@ 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}+io_safety-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+io_safety-devel %{_description} + +This package contains library source intended for building other packages which +use the "io_safety" feature of the "%{crate}" crate. + +%files -n %{name}+io_safety-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 453f336..ff74346 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fs-err-2.7.0.crate) = 19477563b4a316b8ce528c637c1ab9e17e6d06d15230e83468019cefeb5e66bc4d86a24738f6e10063b1c27ed65ddba6992195be4467ae7f14aa53a0ad6632c0 +SHA512 (fs-err-2.8.1.crate) = e29f3a9f0ae9f46a7272e77d88a09e2451705416ef98acc4f84f0e7f0a0d26f56efd026ca9c7e643e814c449079f27a712968b91de75c33e7826488a2e5286de