From 2968ab4c43900e9013b209a4d7669222fab65394 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Nov 2023 22:35:57 +0100 Subject: [PATCH] Update to version 0.6.3; Fixes RHBZ#2248904 --- .gitignore | 1 + rust-sha2-asm.spec | 8 ++++---- rust2rpm.conf | 5 ----- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 0070d72..50dd07f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /sha2-asm-0.6.2.crate +/sha2-asm-0.6.3.crate diff --git a/rust-sha2-asm.spec b/rust-sha2-asm.spec index ca5671d..d075683 100644 --- a/rust-sha2-asm.spec +++ b/rust-sha2-asm.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} @@ -8,7 +8,7 @@ %global supported_arches x86_64 %{ix86} aarch64 Name: rust-sha2-asm -Version: 0.6.2 +Version: 0.6.3 Release: %autorelease Summary: Assembly implementation of SHA-2 compression functions @@ -16,7 +16,7 @@ License: MIT URL: https://crates.io/crates/sha2-asm Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Assembly implementation of SHA-2 compression functions.} @@ -50,7 +50,7 @@ use the "default" 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/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 5df663d..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -supported-arches = - x86_64 - %{ix86} - aarch64 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2b05794 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +supported-arches = ["x86_64", "%{ix86}", "aarch64"] + diff --git a/sources b/sources index 6e93039..5ba9e2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha2-asm-0.6.2.crate) = a9f29537b3974d8caf03bde09401218861060bb775d1311960fb45518f160666e2cf67549f1768744d665dcfca0f5e1b4d2296147cc16c236062a679fa053cce +SHA512 (sha2-asm-0.6.3.crate) = 73dde76842e7fad3a133cbbe26b4a4b93041d4871278f8775e0658025e4e2c3c73b2e89c02647c2c7ebcee6e5c99d8f1392651e39b08a04d5b396d48dd41d790