From ccb1f92030dde2a233dc1895ad7d619b9da8523f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 7 Oct 2023 12:26:34 +0200 Subject: [PATCH] Update to version 1.0.68; Fixes RHBZ#2242426 --- .gitignore | 1 + rust-proc-macro2.spec | 10 +++++----- rust2rpm.conf | 4 ---- rust2rpm.toml | 10 ++++++++++ sources | 2 +- 5 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index a992746..dde2056 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ /proc-macro2-1.0.64.crate /proc-macro2-1.0.66.crate /proc-macro2-1.0.67.crate +/proc-macro2-1.0.68.crate diff --git a/rust-proc-macro2.spec b/rust-proc-macro2.spec index 965dfd4..f2c8436 100644 --- a/rust-proc-macro2.spec +++ b/rust-proc-macro2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate proc-macro2 Name: rust-proc-macro2 -Version: 1.0.67 +Version: 1.0.68 Release: %autorelease Summary: Substitute implementation of the Rust compiler's proc_macro API @@ -73,7 +73,7 @@ use the "span-locations" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -87,8 +87,8 @@ use the "span-locations" feature of the "%{crate}" crate. %if %{with check} %check -# skip doctests that don't compile -%cargo_test -- -- --skip "src/lib.rs" +# * skip doctests that don't compile +%cargo_test -- -- --skip 'src/lib.rs' %endif %changelog diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 97b3062..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -summary = Substitute implementation of the Rust compiler's proc_macro API -unwanted-features = - nightly diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..60987fc --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,10 @@ +[package] +summary = "Substitute implementation of the Rust compiler's proc_macro API" + +[features] +hide = ["nightly"] + +[tests] +skip = ["'src/lib.rs'"] +comments = ["skip doctests that don't compile"] + diff --git a/sources b/sources index 319e223..ab204fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro2-1.0.67.crate) = 3827f5f698aaecc168a03643e330e03aca7b0de98bd57dc97507c1bd53b6ec64752a1f4dee4c8a12ab02f410775a11f5ce7b0d36ec0e1fbbec197e3d7e199eab +SHA512 (proc-macro2-1.0.68.crate) = ea4c48033cc95be90278dd2b543df841e4a947adc6ee472bc004d0713883691901f17696e1e521b77ddd30024c04166e5746b3678d454b2fb8bdfb654aae723c