From 52cd63eea2516c2411359d926963d403dfd8e26f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 12 Sep 2023 11:17:27 +0200 Subject: [PATCH] Update to version 0.8.1; Fixes RHBZ#1948228 --- .gitignore | 1 + peg-macros-fix-metadata.diff | 9 +++++---- rust-peg-macros.spec | 6 +++--- sources | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 74d42dc..b44f3e4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /peg-macros-0.6.3.crate +/peg-macros-0.8.1.crate diff --git a/peg-macros-fix-metadata.diff b/peg-macros-fix-metadata.diff index 4440e67..cfcc180 100644 --- a/peg-macros-fix-metadata.diff +++ b/peg-macros-fix-metadata.diff @@ -1,6 +1,6 @@ ---- peg-macros-0.6.3/Cargo.toml 2020-07-22T03:04:04+00:00 -+++ peg-macros-0.6.3/Cargo.toml 2023-02-05T13:40:13.088140+00:00 -@@ -24,11 +24,6 @@ +--- peg-macros-0.8.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ peg-macros-0.8.1/Cargo.toml 2023-09-09T17:16:12.210135+00:00 +@@ -23,12 +23,6 @@ path = "lib.rs" proc-macro = true @@ -9,6 +9,7 @@ -path = "bin.rs" -test = false -bench = false +- [dependencies.peg-runtime] - version = "= 0.6.3" + version = "= 0.8.1" diff --git a/rust-peg-macros.spec b/rust-peg-macros.spec index 5c41d52..463de7e 100644 --- a/rust-peg-macros.spec +++ b/rust-peg-macros.spec @@ -1,15 +1,14 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate peg-macros Name: rust-peg-macros -Version: 0.6.3 +Version: 0.8.1 Release: %autorelease Summary: Procedural macros for rust-peg -# https://github.com/kevinmehall/rust-peg/pull/241 License: MIT URL: https://crates.io/crates/peg-macros Source: %{crates_source} @@ -34,6 +33,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel +%license %{crate_instdir}/LICENSE %{crate_instdir}/ %package -n %{name}+default-devel diff --git a/sources b/sources index ab5792a..4be255a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (peg-macros-0.6.3.crate) = f10327abf27841d1c5ccc2d59973d0b3d60138a7fd04c7707fad74d32743fced8846acf0b4b31c8b3f67125f9f7fea50ee59170f108ec44f8571aaaa47556d16 +SHA512 (peg-macros-0.8.1.crate) = 84f7fb240ea3c543df4d28f3bbcd80fa6d68133af3557c214eca2298a8e988dbbea84fda85fc87d1f1149dcf4cf6e8b83e23c3a75525409aa0d02758fcf2cfc1