diff --git a/.gitignore b/.gitignore index 183f11d..52174da 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /block-padding-0.1.5.crate /block-padding-0.2.0.crate /block-padding-0.2.1.crate +/block-padding-0.3.1.crate diff --git a/rust-block-padding.spec b/rust-block-padding.spec index fb145ab..2b5fbcf 100644 --- a/rust-block-padding.spec +++ b/rust-block-padding.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate block-padding Name: rust-%{crate} -Version: 0.2.1 +Version: 0.3.1 Release: %autorelease Summary: Padding and unpadding of messages divided into blocks @@ -15,9 +15,6 @@ URL: https://crates.io/crates/block-padding Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -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 %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -45,12 +43,24 @@ 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}+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 %{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 a642121..f0dd6e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (block-padding-0.2.1.crate) = d0bad6ca76cd491446f17c00986aa8caab36a78b4ee4f881a14b316074a96940566ed90460aade765f2e7ce04b359cfe21f6c323200637f50e8b5adf567017af +SHA512 (block-padding-0.3.1.crate) = 7b5f8757ad08854d67f5e1dec2597ee17cfa24d5d0735908ab4fdfe8b1b74616e7f305ffc8798a7354d684d78268c9c4317a784b4092343544d34384d3605a2b