From 4ec2536e827fe279d38ff7ec9e0bd8abf19f8f96 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 13 Jan 2024 23:00:54 +0100 Subject: [PATCH] Update to version 0.8.2; Fixes RHBZ#2243160 --- .gitignore | 1 + peg-macros-fix-metadata.diff | 6 +++--- rust-peg-macros.spec | 8 ++++---- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index b44f3e4..96f7d9a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /peg-macros-0.6.3.crate /peg-macros-0.8.1.crate +/peg-macros-0.8.2.crate diff --git a/peg-macros-fix-metadata.diff b/peg-macros-fix-metadata.diff index cfcc180..82a3743 100644 --- a/peg-macros-fix-metadata.diff +++ b/peg-macros-fix-metadata.diff @@ -1,5 +1,5 @@ ---- 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 +--- peg-macros-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ peg-macros-0.8.2/Cargo.toml 2024-01-13T21:53:29.862744+00:00 @@ -23,12 +23,6 @@ path = "lib.rs" proc-macro = true @@ -11,5 +11,5 @@ -bench = false - [dependencies.peg-runtime] - version = "= 0.8.1" + version = "= 0.8.2" diff --git a/rust-peg-macros.spec b/rust-peg-macros.spec index 463de7e..1eaf04d 100644 --- a/rust-peg-macros.spec +++ b/rust-peg-macros.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate peg-macros Name: rust-peg-macros -Version: 0.8.1 +Version: 0.8.2 Release: %autorelease Summary: Procedural macros for rust-peg @@ -16,7 +16,7 @@ Source: %{crates_source} # * drop binary which is only useful for upstream development Patch: peg-macros-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Procedural macros for rust-peg. To use rust-peg, see the `peg` crate.} @@ -61,7 +61,7 @@ use the "trace" 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 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..61bf0fc --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Procedural macros for rust-peg" + diff --git a/sources b/sources index 4be255a..9c9f86c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (peg-macros-0.8.1.crate) = 84f7fb240ea3c543df4d28f3bbcd80fa6d68133af3557c214eca2298a8e988dbbea84fda85fc87d1f1149dcf4cf6e8b83e23c3a75525409aa0d02758fcf2cfc1 +SHA512 (peg-macros-0.8.2.crate) = 7f7aa3b6274feb5daacdcb3df6a28b1339364eeaf6c782a061ae0c494646dffa887e5dc934db52d3e43045baa0cb1db7867779017161cd4e40fdc9aee4e25943