From 7ffcb7da9160bcad54da76d06796fed8d7e51dd6 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 13 Sep 2024 20:28:38 -0600 Subject: [PATCH] Update to re-reviewed spec with latest rust2rpm --- rust-debug-helper.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/rust-debug-helper.spec b/rust-debug-helper.spec index b83ece4..a2b941b 100644 --- a/rust-debug-helper.spec +++ b/rust-debug-helper.spec @@ -1,25 +1,23 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate debug-helper -Name: rust-%{crate} +Name: rust-debug-helper Version: 0.3.13 Release: %autorelease Summary: Declarative macros to help you implement the Debug trait manually -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/debug-helper Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Declarative macros to help you implement the `Debug` trait manually.} +This crate provides declarative macros to help you implement the `Debug` +trait manually.} %description %{_description} @@ -50,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