diff --git a/.gitignore b/.gitignore index ca3ce04..27e2802 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /block-buffer-0.7.2.crate /block-buffer-0.7.3.crate /block-buffer-0.9.0.crate +/block-buffer-0.10.2.crate diff --git a/rust-block-buffer.spec b/rust-block-buffer.spec index 9d4eeac..60f3a12 100644 --- a/rust-block-buffer.spec +++ b/rust-block-buffer.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate block-buffer Name: rust-%{crate} -Version: 0.9.0 +Version: 0.10.2 Release: %autorelease -Summary: Fixed size buffer for block processing of data +Summary: Buffer type for block processing of data # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -15,14 +15,11 @@ URL: https://crates.io/crates/block-buffer Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: -Fixed size buffer for block processing of data.} +Buffer type for block processing of data.} %description %{_description} @@ -32,11 +29,12 @@ 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 +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -45,24 +43,12 @@ 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 -%package -n %{name}+block-padding-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+block-padding-devel %{_description} - -This package contains library source intended for building other packages -which use "block-padding" feature of "%{crate}" crate. - -%files -n %{name}+block-padding-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index d7ceb1d..42e52b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (block-buffer-0.9.0.crate) = 2d0f8908f59d4b1cccd1fbca0c1fa3cc4b224f09549669b28a16af5acfd4369b66851e9be8d65e1df71be998fbc42fc130ad32b71e035d6055724e8fa31fbf98 +SHA512 (block-buffer-0.10.2.crate) = 8f1d99af7c08bf3b54ba7383cf0272eb5a8137f6244bc2d7e6d6761016614514ad7d27c5c51946c5cd7becd84b320f62fc2770e7aa07038d370505c29e032078