From 2284645034264498ff8d81d954e4767c9122faa1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 21 Sep 2024 00:45:03 +0200 Subject: [PATCH] Update to version 1.7.0; Fixes RHBZ#2295549 --- .gitignore | 1 + plist-fix-metadata.diff | 11 +++++++++++ rust-plist.spec | 5 ++++- sources | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 plist-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 8d59e65..0286cb5 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /plist-1.5.1.crate /plist-1.6.0.crate /plist-1.6.1.crate +/plist-1.7.0.crate diff --git a/plist-fix-metadata.diff b/plist-fix-metadata.diff new file mode 100644 index 0000000..5b5b281 --- /dev/null +++ b/plist-fix-metadata.diff @@ -0,0 +1,11 @@ +--- plist-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ plist-1.7.0/Cargo.toml 2024-09-20T22:41:37.209357+00:00 +@@ -37,7 +37,7 @@ + version = "2.1.0" + + [dependencies.quick_xml] +-version = "0.32.0" ++version = "0.36.0" + package = "quick-xml" + + [dependencies.serde] diff --git a/rust-plist.spec b/rust-plist.spec index 2e1caed..d8d59ec 100644 --- a/rust-plist.spec +++ b/rust-plist.spec @@ -5,13 +5,16 @@ %global crate plist Name: rust-plist -Version: 1.6.1 +Version: 1.7.0 Release: %autorelease Summary: Rusty plist parser License: MIT URL: https://crates.io/crates/plist Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump quick-xml dependency from 0.32 to 0.36 +Patch: plist-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/sources b/sources index a1e85b9..e25db65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (plist-1.6.1.crate) = fdec4ff7d080668df45e6a26a92520f72a3fcd58638238f42603723ad0cac48ea5df41c066a19f6f6e1207263cea02c775495b1ecf6e09ef101ffdc157cccea6 +SHA512 (plist-1.7.0.crate) = 68298950e1e0a3d5228348dfce7f0796a72f75f43f0e6b93647d460eaecb826b2a3fa1f4023bdb84a1544a4ccfc7abfb39f9aa7550d9b2199878064e1a76b69b