From 926a5db6b33cc1c4da90f14e3b5d1d68e4a179e5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Nov 2023 22:33:21 +0100 Subject: [PATCH] Update to version 0.5.2; Fixes RHBZ#2248902 --- .gitignore | 1 + rust-sha1-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 0d39ec2..da9dee9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /sha1-asm-0.5.1.crate +/sha1-asm-0.5.2.crate diff --git a/rust-sha1-asm.spec b/rust-sha1-asm.spec index 82fa9c3..18e6dfe 100644 --- a/rust-sha1-asm.spec +++ b/rust-sha1-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-sha1-asm -Version: 0.5.1 +Version: 0.5.2 Release: %autorelease Summary: Assembly implementation of SHA-1 compression function @@ -16,7 +16,7 @@ License: MIT URL: https://crates.io/crates/sha1-asm Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Assembly implementation of SHA-1 compression function.} @@ -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 49df812..4327bd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha1-asm-0.5.1.crate) = 354eccc701693a8afbb864c0e4e4c9edb4b17a88260459d5f796b200787db0d2ed87e5dc7edd7fc2ebafa74284399da190692a919df4d6cc39bbd843082338ad +SHA512 (sha1-asm-0.5.2.crate) = ec7e4529cc0f2aa80f47025f397e90e7c740be112e5869ecb9f8e520f0efecd4b95bb792ef41a48d01659da63c7752be652560aaac1df9d8d05c371ad0ae50c1