diff --git a/.gitignore b/.gitignore index 19fc2db..0aa7b38 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /aes-0.7.5.crate /aes-0.8.1.crate /aes-0.8.2.crate +/aes-0.8.3.crate diff --git a/README.md b/README.md deleted file mode 100644 index 17a2912..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-aes - -The rust-aes package \ No newline at end of file diff --git a/aes-fix-metadata-auto.diff b/aes-fix-metadata-auto.diff new file mode 100644 index 0000000..0d88558 --- /dev/null +++ b/aes-fix-metadata-auto.diff @@ -0,0 +1,15 @@ +--- aes-0.8.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ aes-0.8.3/Cargo.toml 2023-06-23T21:20:22.950834+00:00 +@@ -54,12 +54,6 @@ + [features] + hazmat = [] + +-[target."cfg(all(aes_armv8, target_arch = \"aarch64\"))".dependencies.zeroize] +-version = "1.5.6" +-features = ["aarch64"] +-optional = true +-default_features = false +- + [target."cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))".dependencies.cpufeatures] + version = "0.2" + diff --git a/rust-aes.spec b/rust-aes.spec index 89d86e2..f2a8575 100644 --- a/rust-aes.spec +++ b/rust-aes.spec @@ -1,22 +1,25 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate aes Name: rust-aes -Version: 0.8.2 +Version: 0.8.3 Release: %autorelease Summary: Pure Rust implementation of the Advanced Encryption Standard License: MIT OR Apache-2.0 URL: https://crates.io/crates/aes Source: %{crates_source} +# Automatically generated patch to strip foreign dependencies +Patch: aes-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael).} +Pure Rust implementation of the Advanced Encryption Standard (a.k.a. +Rijndael).} %description %{_description} diff --git a/sources b/sources index 9f2d25e..3080f1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-0.8.2.crate) = 992ed1b3d2ccb52de06f48de344ce1643bb31b48b00e57d447f89175d854ecaed0942651f358b6bf088966f019c3fc23ad9fa2c812255776472602bb833c9865 +SHA512 (aes-0.8.3.crate) = 89aa691fb6060c37ae8bdc2db8c7ba87a7c5201a776c247bb499fca0fa2b0c062601144af49eb781342a97760a124cc24dbfc38ccecd16493270f47d96282cc0