From 34cc0a06413704d9b4c7c0e838d341c0e46e5967 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 10 Oct 2023 11:32:24 +0200 Subject: [PATCH] Update to version 0.8.19; Fixes RHBZ#2240310 --- .gitignore | 1 + rust-xml-rs.spec | 8 ++++---- sources | 2 +- xml-rs-fix-metadata.diff | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 3b8083a..1500f47 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /xml-rs-0.8.16.crate /xml-rs-0.8.17.crate /xml-rs-0.8.18.crate +/xml-rs-0.8.19.crate diff --git a/rust-xml-rs.spec b/rust-xml-rs.spec index 0ecd95d..6275ecc 100644 --- a/rust-xml-rs.spec +++ b/rust-xml-rs.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate xml-rs Name: rust-xml-rs -Version: 0.8.18 +Version: 0.8.19 Release: %autorelease Summary: XML library in pure Rust @@ -16,7 +16,7 @@ Source: %{crates_source} # * prevent unused xml-analyze binary from being built and shipped Patch: xml-rs-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An XML library in pure Rust.} @@ -50,7 +50,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 7890d31..2c16521 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xml-rs-0.8.18.crate) = d6b84d9e5704a30f97a56bc5b917f4df46b6ff6bb18d93442bab3362e8c12b9bfa2bedc1fc77026ad66e686082ad4fa51fa63ba9ab8cda935f05e809cc7a359c +SHA512 (xml-rs-0.8.19.crate) = a46796ed542a7396e760ee327ec191e96d61b3fd8b78cef2ab2da75c5290433f422a34cabef20267e8a6a162e0a48fc8f81cd66a5dcf997ddd539e55d9130199 diff --git a/xml-rs-fix-metadata.diff b/xml-rs-fix-metadata.diff index 97fed11..64434fb 100644 --- a/xml-rs-fix-metadata.diff +++ b/xml-rs-fix-metadata.diff @@ -1,5 +1,5 @@ ---- xml-rs-0.8.18/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ xml-rs-0.8.18/Cargo.toml 2023-09-19T12:35:10.435385+00:00 +--- xml-rs-0.8.19/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ xml-rs-0.8.19/Cargo.toml 2023-10-10T09:30:49.353634+00:00 @@ -47,9 +47,5 @@ name = "xml" path = "src/lib.rs"