diff --git a/.gitignore b/.gitignore index 249de44..3c6f19b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /aes-0.6.0.crate /aes-0.7.4.crate /aes-0.7.5.crate +/aes-0.8.1.crate diff --git a/rust-aes.spec b/rust-aes.spec index dad7f0b..6014aa0 100644 --- a/rust-aes.spec +++ b/rust-aes.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate aes Name: rust-%{crate} -Version: 0.7.5 +Version: 0.8.1 Release: %autorelease Summary: Pure Rust implementation of the Advanced Encryption Standard @@ -15,15 +15,11 @@ URL: https://crates.io/crates/aes Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: -Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael) -including support for AES in counter mode (a.k.a. AES-CTR).} +Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael).} %description %{_description} @@ -33,12 +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 -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,70 +43,34 @@ 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}+armv8-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+armv8-devel %{_description} - -This package contains library source intended for building other packages -which use "armv8" feature of "%{crate}" crate. - -%files -n %{name}+armv8-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+compact-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+compact-devel %{_description} - -This package contains library source intended for building other packages -which use "compact" feature of "%{crate}" crate. - -%files -n %{name}+compact-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+ctr-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+ctr-devel %{_description} - -This package contains library source intended for building other packages -which use "ctr" feature of "%{crate}" crate. - -%files -n %{name}+ctr-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+force-soft-devel +%package -n %{name}+hazmat-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+force-soft-devel %{_description} +%description -n %{name}+hazmat-devel %{_description} -This package contains library source intended for building other packages -which use "force-soft" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "hazmat" feature of the "%{crate}" crate. -%files -n %{name}+force-soft-devel +%files -n %{name}+hazmat-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+hazmat-devel +%package -n %{name}+zeroize-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+hazmat-devel %{_description} +%description -n %{name}+zeroize-devel %{_description} -This package contains library source intended for building other packages -which use "hazmat" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "zeroize" feature of the "%{crate}" crate. -%files -n %{name}+hazmat-devel +%files -n %{name}+zeroize-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep diff --git a/sources b/sources index 9181c40..054d6d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-0.7.5.crate) = 1e1e6714af9131af6a7e9546339d729979719c9c6751e4e2274e9cc243803920a7317c01a6dc20e31d730ccd43fc65cc2e9a3a29a6bc4d0c9bc0a6a3b65fe5c7 +SHA512 (aes-0.8.1.crate) = c27cae53c87117b97f3b711fdd6e73e8c38f0e810f55d0828494caf6c8cb00a9830bedd9afc3cc4940165eac2d3587b4fd8e15dc09be7ee1ac986dec3e27dc54