From 2afc8cfa06b963d5fedeec4b3ae0bc2b79479a5a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 31 Mar 2022 11:13:15 +0200 Subject: [PATCH] Update to version 0.1.20; Fixes RHBZ#2062033 --- .gitignore | 1 + rust-tracing-attributes.spec | 17 +++++++++-------- sources | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 6fa3d41..3be2c66 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /tracing-attributes-0.1.16.crate /tracing-attributes-0.1.18.crate /tracing-attributes-0.1.19.crate +/tracing-attributes-0.1.20.crate diff --git a/rust-tracing-attributes.spec b/rust-tracing-attributes.spec index bea9257..6c41252 100644 --- a/rust-tracing-attributes.spec +++ b/rust-tracing-attributes.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * resolve dependency loop with tracing %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate tracing-attributes Name: rust-%{crate} -Version: 0.1.19 +Version: 0.1.20 Release: %autorelease Summary: Procedural macro attributes for automatically instrumenting functions @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Procedural macro attributes for automatically instrumenting functions.} @@ -34,9 +34,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +49,7 @@ This package contains library source intended for building other packages which 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 %package -n %{name}+async-await-devel Summary: %{summary} @@ -60,7 +61,7 @@ This package contains library source intended for building other packages which use the "async-await" feature of the "%{crate}" crate. %files -n %{name}+async-await-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 85bb29b..3d48aa0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tracing-attributes-0.1.19.crate) = 2ec00ee73d0dbfc53dd38b137826fee32495efd0c8889f2f10195d4519e00bc513931291101a00ccdf9b7f3ff0f2377abf045f5d58f312e7260daded0ce0b640 +SHA512 (tracing-attributes-0.1.20.crate) = 8ae65a131ba700a03a2e35646a1bdaf043f04b4d5de00f5c58022caf06346b50cd88e1917bcad3a3ad591921fbf2dcef3b49793b8569604eddeea2470627a0c6