From f27d41b06e613a6f6c86a18e9438ab18f3d4520a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 17 Oct 2023 12:46:10 +0200 Subject: [PATCH] Update to version 0.25.3; Fixes RHBZ#2244326 --- .gitignore | 1 + rust-strum_macros.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 67500cd..aff1c90 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /strum_macros-0.24.3.crate /strum_macros-0.25.1.crate /strum_macros-0.25.2.crate +/strum_macros-0.25.3.crate diff --git a/rust-strum_macros.spec b/rust-strum_macros.spec index 618a7dd..60d4c37 100644 --- a/rust-strum_macros.spec +++ b/rust-strum_macros.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * resolve dependency loop with strum %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate strum_macros Name: rust-strum_macros -Version: 0.25.2 +Version: 0.25.3 Release: %autorelease Summary: Helpful macros for working with enums and strings @@ -14,7 +14,7 @@ License: MIT URL: https://crates.io/crates/strum_macros Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Helpful macros for working with enums and strings.} @@ -48,7 +48,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.toml b/rust2rpm.toml new file mode 100644 index 0000000..5a0af17 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["resolve dependency loop with strum"] diff --git a/sources b/sources index aebe735..8f06f54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strum_macros-0.25.2.crate) = 39e80178ca26859fa915195812158a0beaa7ec106c111e7e3a11e70c181bb5462074b59e236645f96ad197c2480dbdc481a4cae0a90d60311e4cf70dc7020149 +SHA512 (strum_macros-0.25.3.crate) = e6ebc00943d9f88104815a5bd6a302a391a06fb0ed5ff836e01d341150628684e00e5e2e5b3f6466ece92d376985246f818243a0d1d775cfa55d1c50c0ec0c62