diff --git a/.gitignore b/.gitignore index 52174da..bf91884 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /block-padding-0.2.0.crate /block-padding-0.2.1.crate /block-padding-0.3.1.crate +/block-padding-0.3.2.crate diff --git a/rust-block-padding.spec b/rust-block-padding.spec index 2b5fbcf..b7a1b1c 100644 --- a/rust-block-padding.spec +++ b/rust-block-padding.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate block-padding -Name: rust-%{crate} -Version: 0.3.1 +Name: rust-block-padding +Version: 0.3.2 Release: %autorelease Summary: Padding and unpadding of messages divided into blocks -# 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-padding Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Padding and unpadding of messages divided into blocks.} @@ -33,9 +32,10 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +47,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 %package -n %{name}+std-devel Summary: %{summary} @@ -59,7 +59,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f0dd6e7..3cbece9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (block-padding-0.3.1.crate) = 7b5f8757ad08854d67f5e1dec2597ee17cfa24d5d0735908ab4fdfe8b1b74616e7f305ffc8798a7354d684d78268c9c4317a784b4092343544d34384d3605a2b +SHA512 (block-padding-0.3.2.crate) = 4b057c32c3fe5caba29f644530996412191e665f3c781a3b1f403b9d7a2ba989f4d6f3f42f47a8de68c2e522ab8f6a27c3c02cfebd833f293def37a71b08bca0