diff --git a/.gitignore b/.gitignore index 064c4e3..a3d582a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /aes-0.3.2.crate /aes-0.4.0.crate /aes-0.6.0.crate +/aes-0.7.4.crate diff --git a/aes-fix-metadata.diff b/aes-fix-metadata.diff deleted file mode 100644 index 4e41105..0000000 --- a/aes-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- aes-0.6.0/Cargo.toml 2020-10-16T14:24:30+00:00 -+++ aes-0.6.0/Cargo.toml 2020-11-06T13:16:51.957588+00:00 -@@ -27,8 +27,5 @@ - [dev-dependencies.cipher] - version = "0.2" - features = ["dev"] --[target."cfg(all(target_feature=\"aes\", target_feature = \"sse2\", any(target_arch = \"x86_64\", target_arch = \"x86\")))".dependencies.aesni] --version = "0.10" --default-features = false - [target."cfg(not(all(target_feature=\"aes\", target_feature = \"sse2\", any(target_arch = \"x86_64\", target_arch = \"x86\"))))".dependencies.aes-soft] - version = "0.6" diff --git a/rust-aes.spec b/rust-aes.spec index efb2f04..6fffd5d 100644 --- a/rust-aes.spec +++ b/rust-aes.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate aes Name: rust-%{crate} -Version: 0.6.0 +Version: 0.7.4 Release: %autorelease -Summary: Facade for AES (Rijndael) block ciphers implementations +Summary: Pure Rust implementation of the Advanced Encryption Standard # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/aes Source: %{crates_source} -# Initial patched metadata -# * drop dependency on aesni (only required if aes and sse2 are enabled) -Patch0: aes-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -25,7 +22,8 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Facade for AES (Rijndael) block ciphers implementations.} +Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael) +including support for AES in counter mode (a.k.a. AES-CTR).} %description %{_description} @@ -55,6 +53,66 @@ which use "default" feature of "%{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 +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force-soft-devel %{_description} + +This package contains library source intended for building other packages +which use "force-soft" feature of "%{crate}" crate. + +%files -n %{name}+force-soft-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+hazmat-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hazmat-devel %{_description} + +This package contains library source intended for building other packages +which use "hazmat" feature of "%{crate}" crate. + +%files -n %{name}+hazmat-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 73a2b1d..6bf5bd5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-0.6.0.crate) = 65349285e429f9b8815743d86b3ebdececd48ce556a08b6ec5ec89bf966bc9b187a7df4fbe1f3b25172db3aab219b23f8040c1160359868e9f71d67a767c90c9 +SHA512 (aes-0.7.4.crate) = 8bf470ae7a22cf413ad6971ab19f115a5a8f99579f7b121691de065721e9f70bfc95c33e54cf5b7ca962d5fb4033a58f0c8edae11a970ba91b1fa286a0a2817d