diff --git a/.gitignore b/.gitignore index 27e2802..9b85f04 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /block-buffer-0.7.3.crate /block-buffer-0.9.0.crate /block-buffer-0.10.2.crate +/block-buffer-0.10.3.crate diff --git a/rust-block-buffer.spec b/rust-block-buffer.spec index 60f3a12..e84d312 100644 --- a/rust-block-buffer.spec +++ b/rust-block-buffer.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate block-buffer -Name: rust-%{crate} -Version: 0.10.2 +Name: rust-block-buffer +Version: 0.10.3 Release: %autorelease Summary: Buffer type for block processing of data -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/block-buffer Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Buffer type for block processing of data.} @@ -33,9 +32,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 +48,7 @@ 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 42e52b0..c8ef875 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (block-buffer-0.10.2.crate) = 8f1d99af7c08bf3b54ba7383cf0272eb5a8137f6244bc2d7e6d6761016614514ad7d27c5c51946c5cd7becd84b320f62fc2770e7aa07038d370505c29e032078 +SHA512 (block-buffer-0.10.3.crate) = e29faab70f8f2965a58089728274ec34bc97d681526687868c9cb1a2c145db00717f97e77b79a04fa52bd76817d796e104b509cd2a3163085b214f8eb68ac04f