From 5ff29ee1de2ed2bcbeb4b524bce9d5bcd35bb3ab Mon Sep 17 00:00:00 2001 From: blinxen Date: Mon, 18 Sep 2023 20:43:45 +0200 Subject: [PATCH] Update to version 4.2.1 (rhbz#2238258) --- .gitignore | 1 + ...e-benchmark-dep.patch => imagequant-fix-metadata.diff | 6 +++--- rust-imagequant.spec | 9 +++++---- sources | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) rename remove-benchmark-dep.patch => imagequant-fix-metadata.diff (54%) diff --git a/.gitignore b/.gitignore index 6fc86d8..4708d03 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /imagequant-4.1.0.crate /imagequant-4.1.1.crate /imagequant-4.2.0.crate +/imagequant-4.2.1.crate diff --git a/remove-benchmark-dep.patch b/imagequant-fix-metadata.diff similarity index 54% rename from remove-benchmark-dep.patch rename to imagequant-fix-metadata.diff index ec50079..3e03a41 100644 --- a/remove-benchmark-dep.patch +++ b/imagequant-fix-metadata.diff @@ -1,9 +1,9 @@ ---- imagequant-4.1.0/Cargo.toml 2023-02-02 23:13:28.802949438 +0100 -+++ imagequant-4.1.0/Cargo.toml 2023-02-02 23:13:28.802949438 +0100 +--- imagequant-4.2.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ imagequant-4.2.1/Cargo.toml 2023-09-18T18:40:51.213385+00:00 @@ -75,9 +75,6 @@ version = "1.1.4" optional = true - + -[dev-dependencies.lodepng] -version = "3.7.0" - diff --git a/rust-imagequant.spec b/rust-imagequant.spec index 62f0a92..9d3844f 100644 --- a/rust-imagequant.spec +++ b/rust-imagequant.spec @@ -5,16 +5,17 @@ %global crate imagequant Name: rust-imagequant -Version: 4.2.0 +Version: 4.2.1 Release: %autorelease Summary: Convert 24/32-bit images to 8-bit palette with alpha channel License: GPL-3.0-or-later URL: https://crates.io/crates/imagequant Source: %{crates_source} -# lodepng is only needed for benchmarking, -# so we don't actually need it here -Patch: remove-benchmark-dep.patch +# Manually created patch for downstream crate metadata changes +# * Drop benchmark dependency (lodepng) +Patch: imagequant-fix-metadata.diff + BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: diff --git a/sources b/sources index 8dddc9a..77aeee8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (imagequant-4.2.0.crate) = a809b4df3ad35ec15c9a12b2a3e4ab5dde6051a7f836777f16b3408f83c75678c295ae5af83e00780d281261911025cbfe56342b0e21bb95c50100c5bd2c4b80 +SHA512 (imagequant-4.2.1.crate) = 4dd6541fd3d184898449debd94febc01b74490a4db5ea6472c8ef2146f961da62ca2c7866f0409b7e51027359cf6d3e3fd1bd983b759d89f64177f43ef66021b