From 27d61cb5c99baafc5f2282193d4520a4814939b6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Nov 2023 22:29:53 +0100 Subject: [PATCH] Update to version 0.5.1; Fixes RHBZ#2248903 --- .gitignore | 1 + rust-md5-asm.spec | 9 +++++---- rust2rpm.conf | 4 ---- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index b45689b..3e70e68 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /md5-asm-0.5.0.crate +/md5-asm-0.5.1.crate diff --git a/rust-md5-asm.spec b/rust-md5-asm.spec index 4a6f228..ea18fb3 100644 --- a/rust-md5-asm.spec +++ b/rust-md5-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} Name: rust-md5-asm -Version: 0.5.0 +Version: 0.5.1 Release: %autorelease Summary: Assembly implementation of MD5 compression function @@ -16,7 +16,7 @@ License: MIT URL: https://crates.io/crates/md5-asm Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Assembly implementation of MD5 compression function.} @@ -34,6 +34,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -49,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 6601e58..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -supported-arches = - x86_64 - %{ix86} diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..c2e37ca --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +supported-arches = ["x86_64", "%{ix86}"] + diff --git a/sources b/sources index 1a72d96..cd206c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (md5-asm-0.5.0.crate) = 4a54c6ed3f14ac54a49720a32c088ecd84de4330167c23fb91461d82048a74cc14897b0e01d84e60bb785f6d53fec51b6bb914501924ff3f67783429805cf65a +SHA512 (md5-asm-0.5.1.crate) = d223b5eaa5076adf3426b8bac5991903aad56ff213be99832af5809fc192e8d74232ad2b08bc70c1652a6c08491a89c99c51cad700103d462a32146463808f21