Update to version 1.0.92; Fixes RHBZ#2327752

epel10 imports/epel10/rust-proc-macro2-1.0.92-1.el10
Fabio Valentini 2 months ago
parent ee0a8aea69
commit f88de61b50
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -81,3 +81,4 @@
/proc-macro2-1.0.87.crate /proc-macro2-1.0.87.crate
/proc-macro2-1.0.88.crate /proc-macro2-1.0.88.crate
/proc-macro2-1.0.89.crate /proc-macro2-1.0.89.crate
/proc-macro2-1.0.92.crate

@ -1,5 +1,5 @@
--- proc-macro2-1.0.89/Cargo.toml 1970-01-01T00:00:01+00:00 --- proc-macro2-1.0.92/Cargo.toml 1970-01-01T00:00:01+00:00
+++ proc-macro2-1.0.89/Cargo.toml 2024-11-06T21:29:30.610245+00:00 +++ proc-macro2-1.0.92/Cargo.toml 2024-11-26T20:05:37.694162+00:00
@@ -82,21 +82,12 @@ @@ -82,21 +82,12 @@
[dependencies.unicode-ident] [dependencies.unicode-ident]
version = "1.0" version = "1.0"

@ -1,11 +1,11 @@
# Generated by rust2rpm 26 # Generated by rust2rpm 27
%bcond_without check %bcond check 1
%global debug_package %{nil} %global debug_package %{nil}
%global crate proc-macro2 %global crate proc-macro2
Name: rust-proc-macro2 Name: rust-proc-macro2
Version: 1.0.89 Version: 1.0.92
Release: %autorelease Release: %autorelease
Summary: Substitute implementation of the Rust compiler's proc_macro API Summary: Substitute implementation of the Rust compiler's proc_macro API
@ -15,7 +15,7 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * remove superfluous dev-dependencies that are only present for a noop doctest # * remove superfluous dev-dependencies that are only present for a noop doctest
Patch: proc-macro2-fix-metadata.diff Patch: proc-macro2-fix-metadata.diff
Patch: 0001-ignore-one-doctest-block-that-adds-superfluous-dev-d.patch Patch2: 0001-ignore-one-doctest-block-that-adds-superfluous-dev-d.patch
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
@ -91,9 +91,10 @@ use the "span-locations" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# * skip a test that harmlessly fails on 32-bit architectures %cargo_test -- --lib
# * skip doctests that don't compile # * skip doctests that don't compile
%cargo_test -- -- --skip test_proc_macro2_wrapper_size_without_locations --skip 'src/lib.rs' %cargo_test -- --doc -- --skip 'src/lib.rs'
%cargo_test -- --tests
%endif %endif
%changelog %changelog

@ -4,16 +4,23 @@ cargo-toml-patch-comments = [
"remove superfluous dev-dependencies that are only present for a noop doctest", "remove superfluous dev-dependencies that are only present for a noop doctest",
] ]
[[package.extra-patches]]
number = 2
file = "0001-ignore-one-doctest-block-that-adds-superfluous-dev-d.patch"
[features] [features]
hide = ["nightly"] hide = ["nightly"]
[tests] [tests]
skip = [ run = [
"test_proc_macro2_wrapper_size_without_locations", "lib",
"doc",
"tests",
]
skip.doc = [
"'src/lib.rs'", "'src/lib.rs'",
] ]
comments = [ comments.doc = [
"skip a test that harmlessly fails on 32-bit architectures",
"skip doctests that don't compile", "skip doctests that don't compile",
] ]

@ -1 +1 @@
SHA512 (proc-macro2-1.0.89.crate) = 488ab38a04df1d0330309382a7e4f667238cbc9b4d513da6a8f5718f8a762f76cc122af67fefe8f4b021a286b3d23e3ec83d781fe6ac823042a6daf14d147e2f SHA512 (proc-macro2-1.0.92.crate) = e614f08acc0a7e97ef580479cf5b682378df1ca16f09bfb2296ebb3490a435229dea9d682c621c54ce57e8e1d3b7803eb8ff83c88bd02e07228dba6d02f14aee

Loading…
Cancel
Save