From 0dc17000ec76133b8bef96db2e3d4bae71ae4916 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 Oct 2023 13:09:05 +0200 Subject: [PATCH] Update to version 0.21.5; Fixes RHBZ#2245633 --- .gitignore | 1 + rust-base64.spec | 8 ++++---- rust2rpm.toml | 3 +++ sources | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 94428e3..c51c995 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /base64-0.21.2.crate /base64-0.21.3.crate /base64-0.21.4.crate +/base64-0.21.5.crate diff --git a/rust-base64.spec b/rust-base64.spec index 8e18deb..7d23f9f 100644 --- a/rust-base64.spec +++ b/rust-base64.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * missing / outdated dev-dependencies: rstest ^0.12, rstest_reuse ^0.3 %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate base64 Name: rust-base64 -Version: 0.21.4 +Version: 0.21.5 Release: %autorelease Summary: Encodes and decodes base64 as bytes or utf8 @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/base64 Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Encodes and decodes base64 as bytes or utf8.} @@ -74,7 +74,7 @@ use the "std" 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.toml b/rust2rpm.toml new file mode 100644 index 0000000..ac0c92f --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["missing / outdated dev-dependencies: rstest ^0.12, rstest_reuse ^0.3"] diff --git a/sources b/sources index 789a1c6..349bf1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (base64-0.21.4.crate) = 33fba19be1e7c3e74b57ae0487fda904258f31457c005467caf2e44eb55e271e0d2e3f2d4b80b667b05fc625878e0b136a07984dc88335a2099278672b3c4b0f +SHA512 (base64-0.21.5.crate) = 40b1d8470a932c8b7f31717e33bf26742c1bf920caae639b8a992f77e64d5e6d287569742c1348daa25b7325f8ca8d8a312754a743dab3932181f37149d91b16