diff --git a/.gitignore b/.gitignore index 3c6f19b..19fc2db 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /aes-0.7.4.crate /aes-0.7.5.crate /aes-0.8.1.crate +/aes-0.8.2.crate diff --git a/rust-aes.spec b/rust-aes.spec index 6014aa0..89d86e2 100644 --- a/rust-aes.spec +++ b/rust-aes.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate aes -Name: rust-%{crate} -Version: 0.8.1 +Name: rust-aes +Version: 0.8.2 Release: %autorelease Summary: Pure Rust implementation of the Advanced Encryption Standard -# 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/aes Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael).} @@ -33,9 +30,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 +46,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}+hazmat-devel Summary: %{summary} @@ -59,7 +58,7 @@ This package contains library source intended for building other packages which use the "hazmat" feature of the "%{crate}" crate. %files -n %{name}+hazmat-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize-devel Summary: %{summary} @@ -71,7 +70,7 @@ This package contains library source intended for building other packages which use the "zeroize" feature of the "%{crate}" crate. %files -n %{name}+zeroize-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 054d6d1..9f2d25e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-0.8.1.crate) = c27cae53c87117b97f3b711fdd6e73e8c38f0e810f55d0828494caf6c8cb00a9830bedd9afc3cc4940165eac2d3587b4fd8e15dc09be7ee1ac986dec3e27dc54 +SHA512 (aes-0.8.2.crate) = 992ed1b3d2ccb52de06f48de344ce1643bb31b48b00e57d447f89175d854ecaed0942651f358b6bf088966f019c3fc23ad9fa2c812255776472602bb833c9865