From de89f5a58b33ffe61eb0418f7f8908d4217f495d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 12 May 2022 16:27:16 +0200 Subject: [PATCH] Update to version 1.0.38; Fixes RHBZ#2072345 --- .gitignore | 1 + rust-proc-macro2.spec | 19 ++++++++++--------- sources | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index f350f86..5656f24 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ /proc-macro2-1.0.33.crate /proc-macro2-1.0.34.crate /proc-macro2-1.0.36.crate +/proc-macro2-1.0.38.crate diff --git a/rust-proc-macro2.spec b/rust-proc-macro2.spec index d604176..1f34b7e 100644 --- a/rust-proc-macro2.spec +++ b/rust-proc-macro2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate proc-macro2 Name: rust-%{crate} -Version: 1.0.36 +Version: 1.0.38 Release: %autorelease Summary: Substitute implementation of the Rust compiler's proc_macro API @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Substitute implementation of the compiler's `proc_macro` API to decouple token- @@ -34,9 +34,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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}+proc-macro-devel Summary: %{summary} @@ -60,7 +61,7 @@ This package contains library source intended for building other packages which use the "proc-macro" feature of the "%{crate}" crate. %files -n %{name}+proc-macro-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+span-locations-devel Summary: %{summary} @@ -72,7 +73,7 @@ This package contains library source intended for building other packages which use the "span-locations" feature of the "%{crate}" crate. %files -n %{name}+span-locations-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 b470752..6a2526d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro2-1.0.36.crate) = f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a +SHA512 (proc-macro2-1.0.38.crate) = f360b00b4b1e05df52ca1714df34c719778f7bb6ed54fab04a84811acd0a29f7c4d4871fad7d988f0c042fe0fc326d7b1fedc731c55fd32c7257dd1895203080