From 88ed32d33187c5a99eb279679a634cd29ac1ac6a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Nov 2023 12:31:37 +0100 Subject: [PATCH] Update to version 2.10.2; Fixes RHBZ#2239966 --- .gitignore | 1 + rust-sval_derive.spec | 44 +++++++++++++++++++++++++++++++++++++++---- sources | 2 +- 3 files changed, 42 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9df37f4..a45a792 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /sval_derive-0.5.2.crate /sval_derive-1.0.0-alpha.5.crate /sval_derive-2.6.1.crate +/sval_derive-2.10.2.crate diff --git a/rust-sval_derive.spec b/rust-sval_derive.spec index 466edf7..4659170 100644 --- a/rust-sval_derive.spec +++ b/rust-sval_derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate sval_derive Name: rust-sval_derive -Version: 2.6.1 +Version: 2.10.2 Release: %autorelease Summary: Derive support for sval @@ -13,7 +13,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/sval_derive Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Derive support for sval.} @@ -47,8 +47,44 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+flatten-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+flatten-devel %{_description} + +This package contains library source intended for building other packages which +use the "flatten" feature of the "%{crate}" crate. + +%files -n %{name}+flatten-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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 4342c33..9d182bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sval_derive-2.6.1.crate) = f8bf0fde5751ad9b10c32810d2afd950775493ac462d1db770140c7e7730f4ec06797be2461ea9715b4e9fb246ca36b7a783fb8458cf15f622897c15af335f38 +SHA512 (sval_derive-2.10.2.crate) = 9d6a3b701920377ec3e7622a2be200b62f0cb36000608a93d72bcc3f2c7be16242806c4db499fcf2ad979bbfefd209817caa17ded9d83364c41110d9d568abae