diff --git a/.gitignore b/.gitignore index 70d3aca..e0c31ca 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,10 @@ /proc-macro2-1.0.28.crate /proc-macro2-1.0.29.crate /proc-macro2-1.0.32.crate +/proc-macro2-1.0.33.crate +/proc-macro2-1.0.34.crate +/proc-macro2-1.0.36.crate +/proc-macro2-1.0.38.crate +/proc-macro2-1.0.40.crate +/proc-macro2-1.0.43.crate +/proc-macro2-1.0.46.crate diff --git a/rust-proc-macro2.spec b/rust-proc-macro2.spec index 5b945ab..c74976d 100644 --- a/rust-proc-macro2.spec +++ b/rust-proc-macro2.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate proc-macro2 -Name: rust-%{crate} -Version: 1.0.32 +Name: rust-proc-macro2 +Version: 1.0.46 Release: %autorelease Summary: Substitute implementation of the Rust compiler's proc_macro API -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/proc-macro2 Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Substitute implementation of the compiler's `proc_macro` API to decouple token- @@ -33,13 +29,14 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%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} @@ -47,11 +44,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+proc-macro-devel %{_description} -This package contains library source intended for building other packages -which use "proc-macro" feature of "%{crate}" crate. +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} @@ -71,11 +68,11 @@ BuildArch: noarch %description -n %{name}+span-locations-devel %{_description} -This package contains library source intended for building other packages -which use "span-locations" feature of "%{crate}" crate. +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/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index 64f96a0..f1017ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro2-1.0.32.crate) = 8631714c226c8a6fb330a529f42214216057eca85cfa63afd3de8600d2638e2be45efa54155ce73625883bcbabc2c56cb865ad9dda04e2c7092d955caed48abf +SHA512 (proc-macro2-1.0.46.crate) = 1c2ae8dc4bebeeaa4af02f8edce18b3d159109a1639d8e9f26be2b7023ade9d09824ee0f2a60ae034967d982158196826fdb989d23a4b3bc81188a9a63e18cb9