diff --git a/.gitignore b/.gitignore index 0aa7b38..3d1928f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /aes-0.8.1.crate /aes-0.8.2.crate /aes-0.8.3.crate +/aes-0.8.4.crate diff --git a/aes-fix-metadata-auto.diff b/aes-fix-metadata-auto.diff index 0d88558..cfb3e1c 100644 --- a/aes-fix-metadata-auto.diff +++ b/aes-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- 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 @@ +--- aes-0.8.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ aes-0.8.4/Cargo.toml 2024-02-14T15:50:20.257542+00:00 +@@ -55,12 +55,6 @@ [features] hazmat = [] @@ -13,3 +13,8 @@ [target."cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))".dependencies.cpufeatures] version = "0.2" +@@ -68,3 +62,4 @@ + version = "1.6.0" + optional = true + default_features = false ++ diff --git a/rust-aes.spec b/rust-aes.spec index f2a8575..fdc1642 100644 --- a/rust-aes.spec +++ b/rust-aes.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate aes Name: rust-aes -Version: 0.8.3 +Version: 0.8.4 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 +# Automatically generated patch to strip dependencies and normalize metadata Patch: aes-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Pure Rust implementation of the Advanced Encryption Standard (a.k.a. @@ -76,7 +76,7 @@ use the "zeroize" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 3080f1d..52c1ee0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-0.8.3.crate) = 89aa691fb6060c37ae8bdc2db8c7ba87a7c5201a776c247bb499fca0fa2b0c062601144af49eb781342a97760a124cc24dbfc38ccecd16493270f47d96282cc0 +SHA512 (aes-0.8.4.crate) = 96243337546acf64f89bf9ba23011eea1a205d82d96707f9c45bf28cc62ef00cdac5cdfacb8d6013155ee1522ad73dd1b7f166c74ed18159bf23c3c48ec77d79