From 994eaafcd17cd05be8655cc07d6f58b0afc9ba53 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 17 Jul 2023 23:13:29 +0200 Subject: [PATCH] Update to version 2.7.1; Fixes RHBZ#2215696 --- .gitignore | 1 + rust-pest.spec | 40 ++-------------------------------------- sources | 2 +- 3 files changed, 4 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 3ddd023..38d404a 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /pest-2.5.6.crate /pest-2.5.7.crate /pest-2.6.0.crate +/pest-2.7.1.crate diff --git a/rust-pest.spec b/rust-pest.spec index cf245ba..90952b7 100644 --- a/rust-pest.spec +++ b/rust-pest.spec @@ -5,7 +5,7 @@ %global crate pest Name: rust-pest -Version: 2.6.0 +Version: 2.7.1 Release: %autorelease Summary: Elegant Parser @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/pest Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The Elegant Parser.} @@ -84,30 +84,6 @@ use the "pretty-print" feature of the "%{crate}" crate. %files -n %{name}+pretty-print-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+serde-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde" feature of the "%{crate}" crate. - -%files -n %{name}+serde-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+serde_json-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+serde_json-devel %{_description} - -This package contains library source intended for building other packages which -use the "serde_json" feature of the "%{crate}" crate. - -%files -n %{name}+serde_json-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -120,18 +96,6 @@ use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+thiserror-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+thiserror-devel %{_description} - -This package contains library source intended for building other packages which -use the "thiserror" feature of the "%{crate}" crate. - -%files -n %{name}+thiserror-devel -%ghost %{crate_instdir}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 7d9094e..c141c36 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pest-2.6.0.crate) = 4ca4bbb381732f7b2a893a2c398e45532d0b88db26294895e272bef22c77f49cbf8e6e9723eefff9402435c184a7df9c2e6c9a08ae475ad84477ee0883466fea +SHA512 (pest-2.7.1.crate) = d6b6a22586c7a1ec56619aaa86449baaab249dd852bd60176cfb029e179f439f640d6857a239df62202534da851c3b724bada6fee5fec5ccece292a07d5b5093