From b9246e86ec740a5beea0bcacede7cbb78f704566 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 23 Jun 2023 23:29:45 +0200 Subject: [PATCH] Update to version 0.10.7; Fixes RHBZ#2215399 --- .gitignore | 1 + README.md | 3 --- rust-sha2.spec | 10 ++++------ rust2rpm.conf | 1 + sources | 2 +- 5 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 74eb703..74a36e4 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /sha2-0.10.2.crate /sha2-0.10.3.crate /sha2-0.10.6.crate +/sha2-0.10.7.crate diff --git a/README.md b/README.md deleted file mode 100644 index 5a4b728..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-sha2 - -The rust-sha2 package \ No newline at end of file diff --git a/rust-sha2.spec b/rust-sha2.spec index 3be0018..14f1276 100644 --- a/rust-sha2.spec +++ b/rust-sha2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate sha2 Name: rust-sha2 -Version: 0.10.6 +Version: 0.10.7 Release: %autorelease Summary: Pure Rust implementation of the SHA-2 hash function family @@ -13,13 +13,11 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/sha2 Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -Pure Rust implementation of the SHA-2 hash function family including SHA-224, -SHA-256, SHA-384, and SHA-512.} +Pure Rust implementation of the SHA-2 hash function family including +SHA-224, SHA-256, SHA-384, and SHA-512.} %description %{_description} diff --git a/rust2rpm.conf b/rust2rpm.conf index ab77a7d..aef0842 100644 --- a/rust2rpm.conf +++ b/rust2rpm.conf @@ -1,4 +1,5 @@ [DEFAULT] +summary = Pure Rust implementation of the SHA-2 hash function family unwanted-features = asm asm-aarch64 diff --git a/sources b/sources index 3a8778f..fba6574 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha2-0.10.6.crate) = 38dea4c300ea8dee22587ab0af6d66dbde824e1cb071e02e7790bf978efff6bdb6d4076d61c5acb38e86e69261a65811a7bd0182299d53ef053202ee54d2b05c +SHA512 (sha2-0.10.7.crate) = c33d6bdecaf49d0f60276531e845231425f62d2ec18c4d53c43e49f506a2dcb2548f5866c6642806b6b64f008a481c48920b7b4fc867df7443dc31b44f297fdc