From af935f61f55121b6730e0fe9a52d4c4e15d30b18 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 10 Feb 2025 18:30:09 +0100 Subject: [PATCH] Update to version 0.5.3; Fixes RHBZ#2343360 --- .gitignore | 1 + rust-string_cache_codegen.spec | 13 +++++-------- sources | 2 +- string_cache_codegen-fix-metadata.diff | 15 --------------- 4 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 string_cache_codegen-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 2a4b0ad..bfa9007 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /string_cache_codegen-0.4.4.crate /string_cache_codegen-0.5.1.crate /string_cache_codegen-0.5.2.crate +/string_cache_codegen-0.5.3.crate diff --git a/rust-string_cache_codegen.spec b/rust-string_cache_codegen.spec index 8092d9c..a7be922 100644 --- a/rust-string_cache_codegen.spec +++ b/rust-string_cache_codegen.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate string_cache_codegen Name: rust-string_cache_codegen -Version: 0.5.2 +Version: 0.5.3 Release: %autorelease Summary: Codegen library for string-cache, developed as part of the Servo project License: MIT OR Apache-2.0 URL: https://crates.io/crates/string_cache_codegen Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * bump phf dependencies from 0.10 to 0.11 -Patch: string_cache_codegen-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A codegen library for string-cache, developed as part of the Servo @@ -51,7 +48,7 @@ use the "default" 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/sources b/sources index ffa28fd..7b8c2ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (string_cache_codegen-0.5.2.crate) = 01b9b1a865878537f657adf908159fd04f3f2ba4e70f8c632b73d0ed5a8a09fe2bb9ac8ac4397dec1f50d771dec33fc5d3f9e68dbf80cc177118665b2c67e864 +SHA512 (string_cache_codegen-0.5.3.crate) = 24b8ac2f0ef6d47e9fe92ad75b2e00217debd76949e1a7e44c9fb16cd172149cdda6279160a2f9d91ab405724b0ca54b2aae9b295a2188aeda9bf8a318c5cb07 diff --git a/string_cache_codegen-fix-metadata.diff b/string_cache_codegen-fix-metadata.diff deleted file mode 100644 index fc63bb2..0000000 --- a/string_cache_codegen-fix-metadata.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- string_cache_codegen-0.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ string_cache_codegen-0.5.2/Cargo.toml 2023-07-28T13:16:21.874408+00:00 -@@ -23,10 +23,10 @@ - name = "string_cache_codegen" - path = "lib.rs" - [dependencies.phf_generator] --version = "0.10" -+version = "0.11" - - [dependencies.phf_shared] --version = "0.10" -+version = "0.11" - - [dependencies.proc-macro2] - version = "1"