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" +