From bba303244538844570966a308dd6fb6a9780b6a6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 29 Nov 2023 13:22:52 +0100 Subject: [PATCH] Update to version 0.7.3; Fixes RHBZ#2107822 --- .gitignore | 1 + rust-palette_derive.spec | 20 ++++++++++++++++---- sources | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 05df91d..e7914e1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /palette_derive-0.5.0.crate /palette_derive-0.6.0.crate +/palette_derive-0.7.3.crate diff --git a/rust-palette_derive.spec b/rust-palette_derive.spec index b2597b3..12884c8 100644 --- a/rust-palette_derive.spec +++ b/rust-palette_derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate palette_derive Name: rust-palette_derive -Version: 0.6.0 +Version: 0.7.3 Release: %autorelease Summary: Automatically implement traits from the palette crate @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/palette_derive Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Automatically implement traits from the palette crate.} @@ -47,8 +47,20 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+find-crate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+find-crate-devel %{_description} + +This package contains library source intended for building other packages which +use the "find-crate" feature of the "%{crate}" crate. + +%files -n %{name}+find-crate-devel +%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 2e83f59..cc47985 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (palette_derive-0.6.0.crate) = 3d29a4c62d88d46322a9ef176de4b6ee80805d19c811899664cd0c1f6589eb8923d01962d57bdef54e20680fa7e57d5c5bcb071ba952f0b902e822fe8944d161 +SHA512 (palette_derive-0.7.3.crate) = 6a3d4d056e3f64aad47a547504599e61756ea785a9583d9ef977f974036dc0a1e333380fa5b8abc88d5cc16c3efc18dd93102fd54f86087c8d0694ceafe7426b