From ad2c6d0c5a4e68808ed4e42f421c01a9e8afaad3 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 2 Mar 2020 17:30:32 -0800 Subject: [PATCH] Update to 0.16.0 --- .gitignore | 1 + png-fix-metadata.diff | 11 ----------- rust-png.spec | 12 +++++++----- sources | 2 +- 4 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 png-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a01388f..be6f23f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /png-0.15.1.crate /png-0.15.2.crate /png-0.15.3.crate +/png-0.16.0.crate diff --git a/png-fix-metadata.diff b/png-fix-metadata.diff deleted file mode 100644 index 5d7f406..0000000 --- a/png-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- png-0.15.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ png-0.15.2/Cargo.toml 2019-12-17T01:50:38.991180+00:00 -@@ -27,7 +27,7 @@ - version = "1.2.0" - - [dependencies.deflate] --version = "0.7.12" -+version = "0.8.2" - optional = true - - [dependencies.inflate] diff --git a/rust-png.spec b/rust-png.spec index e9d81dd..a02686e 100644 --- a/rust-png.spec +++ b/rust-png.spec @@ -6,17 +6,14 @@ %global crate png Name: rust-%{crate} -Version: 0.15.3 -Release: 2%{?dist} +Version: 0.16.0 +Release: 1%{?dist} Summary: PNG decoding and encoding library in pure Rust # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/png Source: %{crates_source} -# Initial patched metadata -# * Bump to deflate 0.8 -Patch0: png-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -106,6 +103,8 @@ which use "unstable" feature of "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 +# https://github.com/image-rs/image-png/pull/185 +rm -r seed/ %cargo_prep %generate_buildrequires @@ -123,6 +122,9 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Tue Mar 03 2020 Josh Stone - 0.16.0-1 +- Update to 0.16.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.15.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index e51cba1..6812a26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (png-0.15.3.crate) = a1a440b83e230f6f49f481aa70e703d93f518f5a608463600d671c8ebd44d978aad36e104227807fe3811f0e1c225d90db616a4ccad819770f85423e2fe8e004 +SHA512 (png-0.16.0.crate) = 347874f66ede47d0b1abd0afd95d5513ae20d83cd4f6c359c02114c204bc7cb87e91c2f4334aa2b8d45ec7235742b31052a9c19f7558327194f99b3f9ba02a17