From 215634b709d744e0779ecb8478ba200316e32c47 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 25 Jun 2024 12:14:51 +0200 Subject: [PATCH] Update to version 2.7.10; Fixes RHBZ#2262742 --- .gitignore | 1 + pest-fix-metadata.diff | 17 ++++++++++++++--- rust-pest.spec | 4 ++-- rust2rpm.toml | 5 +++++ sources | 2 +- 5 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index f38a860..99a37bd 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /pest-2.7.2.crate /pest-2.7.3.crate /pest-2.7.6.crate +/pest-2.7.10.crate diff --git a/pest-fix-metadata.diff b/pest-fix-metadata.diff index 95e2a26..23cffbc 100644 --- a/pest-fix-metadata.diff +++ b/pest-fix-metadata.diff @@ -1,6 +1,17 @@ ---- pest-2.7.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pest-2.7.6/Cargo.toml 2024-01-13T21:39:02.921895+00:00 -@@ -53,10 +53,6 @@ +--- pest-2.7.10/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pest-2.7.10/Cargo.toml 2024-06-25T10:10:16.409027+00:00 +@@ -29,10 +29,6 @@ + license = "MIT OR Apache-2.0" + repository = "https://github.com/pest-parser/pest" + +-[[bench]] +-name = "stack" +-harness = false +- + [dependencies.memchr] + version = "2" + optional = true +@@ -53,10 +49,6 @@ version = "0.1.5" default-features = false diff --git a/rust-pest.spec b/rust-pest.spec index ff81d92..d121a9c 100644 --- a/rust-pest.spec +++ b/rust-pest.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate pest Name: rust-pest -Version: 2.7.6 +Version: 2.7.10 Release: %autorelease Summary: Elegant Parser diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2cd7101 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "drop unused, benchmark-only criterion dev-dependency", +] + diff --git a/sources b/sources index caef69e..5a052ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pest-2.7.6.crate) = ff7d559dec8c81557ea9157ccd57807032718c0c332bdc368a0a5c596780f613d2d15dd67370016ab210286783af9d8ff2b27586f141e44a09ac4bc7b45040ca +SHA512 (pest-2.7.10.crate) = 3facdb4a8bcf0356b702cbff4d314db32a80b33fb3512e52c31114a3f666414a49445a1f502c911cccfb28b7390fa058207570bf9127677815842b4988d1f34a