From a0bbcb5709dac412f0906958c94dea4acdfb783c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 23 Oct 2024 17:23:42 +0200 Subject: [PATCH] Update to version 2.7.14; Fixes RHBZ#2313571 --- .gitignore | 1 + pest-fix-metadata.diff | 12 ++++++------ rust-pest.spec | 14 +++++++++++++- sources | 2 +- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2d3c3f2..db2d421 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /pest-2.7.10.crate /pest-2.7.11.crate /pest-2.7.12.crate +/pest-2.7.14.crate diff --git a/pest-fix-metadata.diff b/pest-fix-metadata.diff index 29142dd..02fc7cc 100644 --- a/pest-fix-metadata.diff +++ b/pest-fix-metadata.diff @@ -1,5 +1,5 @@ ---- pest-2.7.12/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pest-2.7.12/Cargo.toml 2024-09-18T18:02:46.518028+00:00 +--- pest-2.7.14/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pest-2.7.14/Cargo.toml 2024-10-23T15:20:09.236640+00:00 @@ -29,10 +29,6 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/pest-parser/pest" @@ -11,7 +11,7 @@ [dependencies.memchr] version = "2" optional = true -@@ -53,10 +49,6 @@ +@@ -58,10 +54,6 @@ version = "0.1.5" default-features = false @@ -19,6 +19,6 @@ -version = "0.5.1" -features = ["html_reports"] - - [features] - const_prec_climber = [] - default = [ + [dev-dependencies.miette] + version = "7.2.0" + features = ["fancy"] diff --git a/rust-pest.spec b/rust-pest.spec index f4c37d7..ffceb22 100644 --- a/rust-pest.spec +++ b/rust-pest.spec @@ -5,7 +5,7 @@ %global crate pest Name: rust-pest -Version: 2.7.12 +Version: 2.7.14 Release: %autorelease Summary: Elegant Parser @@ -74,6 +74,18 @@ use the "memchr" feature of the "%{crate}" crate. %files -n %{name}+memchr-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+miette-error-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+miette-error-devel %{_description} + +This package contains library source intended for building other packages which +use the "miette-error" feature of the "%{crate}" crate. + +%files -n %{name}+miette-error-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+pretty-print-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index ac9e059..d3ea699 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pest-2.7.12.crate) = dcf6d43e14142dec364f1fe7beaa4a53995c5deb7a8d02ae2892af1a8343c027d5ca238612b5fc850d994d1fc6c0929b85c7fc45fdf56f36bd60d574ca3992c8 +SHA512 (pest-2.7.14.crate) = 3662eb93631aa6821f1ef98350c7569afbdff82edd764697b170ebeaa75e92d7b301bac4722ba14175d0f0432b39bc891617413393569cfbf17e21b25fd6afee