From c7e140b2d4dd4e59940361ea04a7c2a5d40a9198 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 Sep 2024 22:30:06 +0200 Subject: [PATCH] Update to version 0.6.0 --- .gitignore | 1 + rust-derive-new.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 148dfae..b0d63c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /derive-new-0.5.9.crate +/derive-new-0.6.0.crate diff --git a/rust-derive-new.spec b/rust-derive-new.spec index f52bee0..f9447b5 100644 --- a/rust-derive-new.spec +++ b/rust-derive-new.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate derive-new Name: rust-derive-new -Version: 0.5.9 +Version: 0.6.0 Release: %autorelease Summary: Derive simple constructor functions for structs and enums @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/derive-new Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: `#[derive(new)]` implements simple constructor functions for structs and @@ -60,7 +60,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/sources b/sources index cefe92d..f7fa280 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive-new-0.5.9.crate) = 9ce0991fe63d8339a88d9552fcd8cc744d8bbc2c6525f60959faf519e1ffa84256c773291df2101912483c0d9accd4fe5f7dbb199dbd36d299ceae8f607e0b30 +SHA512 (derive-new-0.6.0.crate) = 2f603df3765657e1dc857012610d849705002c8f710136ddf4717cde5d7f827d7d886074a08ec75d4678601c17b8cac83961db25bd10e49840777a4e89c4f7cd