From 8d8da24a9d87a1184dc0451bfe1c4861b0482d92 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 12 Apr 2022 12:07:12 +0200 Subject: [PATCH] Update to version 0.6.0; Fixes RHBZ#2056263 --- rust-serial_test_derive.spec | 21 +++++++++------------ sources | 2 +- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/rust-serial_test_derive.spec b/rust-serial_test_derive.spec index ef83adf..1f9ca44 100644 --- a/rust-serial_test_derive.spec +++ b/rust-serial_test_derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate serial_test_derive Name: rust-%{crate} -Version: 0.5.1 +Version: 0.6.0 Release: %autorelease Summary: Helper crate for serial_test @@ -15,11 +15,8 @@ URL: https://crates.io/crates/serial_test_derive Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Helper crate for serial_test.} @@ -33,12 +30,12 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +44,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f483dcf..de7e6ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serial_test_derive-0.5.1.crate) = e3f4b3c2eed1b284dbff7447c2f912343f9b95cbd88f3387c0136ca42698b38a607c752277ee4590ded9f73f475325d2652ba67ba029ddd54711d9070ac5f43e +SHA512 (serial_test_derive-0.6.0.crate) = 45885b6556ec89356b0db59f53cdec2f147ed71c61c072ab3d5c472bb574c3e64632668272f1b43cb10c6e3113cbbac85e58bb0e2ea589630aba6545a0d2da2b