From d18bb59e39344dec9ab1ba13908073d81ddbfcdf Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 18 Oct 2023 22:03:12 +0200 Subject: [PATCH] Regenerate with rust2rpm v25 --- rust-miette-derive.spec | 6 +++--- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/rust-miette-derive.spec b/rust-miette-derive.spec index fe91685..ddc9753 100644 --- a/rust-miette-derive.spec +++ b/rust-miette-derive.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} @@ -13,7 +13,7 @@ License: Apache-2.0 URL: https://crates.io/crates/miette-derive Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Derive macros for miette. Like `thiserror` for Diagnostics.} @@ -46,7 +46,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 3107636..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Derive macros for miette diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..769094c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Derive macros for miette" +