From 809cd880fdb455934547265b305b72021e2ca169 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 16 Jan 2020 14:27:28 -0800 Subject: [PATCH] Update to 0.22.4 --- .gitignore | 1 + image-fix-metadata.diff | 11 ++++++++++ rust-image.spec | 48 +++++++++++++++++++++++------------------ sources | 2 +- 4 files changed, 40 insertions(+), 22 deletions(-) create mode 100644 image-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 7010b86..d07605d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /image-0.22.1.crate /image-0.22.2.crate /image-0.22.3.crate +/image-0.22.4.crate diff --git a/image-fix-metadata.diff b/image-fix-metadata.diff new file mode 100644 index 0000000..bdb5aa7 --- /dev/null +++ b/image-fix-metadata.diff @@ -0,0 +1,11 @@ +--- image-0.22.4/Cargo.toml 2020-01-14T18:19:27+00:00 ++++ image-0.22.4/Cargo.toml 2020-01-16T22:22:32.768097+00:00 +@@ -57,7 +57,7 @@ + optional = true + + [dependencies.tiff] +-version = "0.3.1" ++version = "0.4" + optional = true + [dev-dependencies.crc32fast] + version = "1.2.0" diff --git a/rust-image.spec b/rust-image.spec index 4455635..e33036c 100644 --- a/rust-image.spec +++ b/rust-image.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate image Name: rust-%{crate} -Version: 0.22.3 +Version: 0.22.4 Release: 1%{?dist} Summary: Imaging library written in Rust @@ -13,6 +13,9 @@ Summary: Imaging library written in Rust License: MIT URL: https://crates.io/crates/image Source: %{crates_source} +# Initial patched metadata +# * Bump to tiff 0.4, https://github.com/image-rs/image/pull/1081 +Patch0: image-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -39,7 +42,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md CHANGES.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -51,7 +54,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+benchmarks-devel Summary: %{summary} @@ -63,7 +66,7 @@ This package contains library source intended for building other packages which use "benchmarks" feature of "%{crate}" crate. %files -n %{name}+benchmarks-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+bmp-devel Summary: %{summary} @@ -75,7 +78,7 @@ This package contains library source intended for building other packages which use "bmp" feature of "%{crate}" crate. %files -n %{name}+bmp-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+dxt-devel Summary: %{summary} @@ -87,7 +90,7 @@ This package contains library source intended for building other packages which use "dxt" feature of "%{crate}" crate. %files -n %{name}+dxt-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+gif-devel Summary: %{summary} @@ -99,7 +102,7 @@ This package contains library source intended for building other packages which use "gif" feature of "%{crate}" crate. %files -n %{name}+gif-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+gif_codec-devel Summary: %{summary} @@ -111,7 +114,7 @@ This package contains library source intended for building other packages which use "gif_codec" feature of "%{crate}" crate. %files -n %{name}+gif_codec-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+hdr-devel Summary: %{summary} @@ -123,7 +126,7 @@ This package contains library source intended for building other packages which use "hdr" feature of "%{crate}" crate. %files -n %{name}+hdr-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+ico-devel Summary: %{summary} @@ -135,7 +138,7 @@ This package contains library source intended for building other packages which use "ico" feature of "%{crate}" crate. %files -n %{name}+ico-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+jpeg-devel Summary: %{summary} @@ -147,7 +150,7 @@ This package contains library source intended for building other packages which use "jpeg" feature of "%{crate}" crate. %files -n %{name}+jpeg-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+jpeg-decoder-devel Summary: %{summary} @@ -159,7 +162,7 @@ This package contains library source intended for building other packages which use "jpeg-decoder" feature of "%{crate}" crate. %files -n %{name}+jpeg-decoder-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+jpeg_rayon-devel Summary: %{summary} @@ -171,7 +174,7 @@ This package contains library source intended for building other packages which use "jpeg_rayon" feature of "%{crate}" crate. %files -n %{name}+jpeg_rayon-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+png-devel Summary: %{summary} @@ -183,7 +186,7 @@ This package contains library source intended for building other packages which use "png" feature of "%{crate}" crate. %files -n %{name}+png-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+png_codec-devel Summary: %{summary} @@ -195,7 +198,7 @@ This package contains library source intended for building other packages which use "png_codec" feature of "%{crate}" crate. %files -n %{name}+png_codec-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pnm-devel Summary: %{summary} @@ -207,7 +210,7 @@ This package contains library source intended for building other packages which use "pnm" feature of "%{crate}" crate. %files -n %{name}+pnm-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+scoped_threadpool-devel Summary: %{summary} @@ -219,7 +222,7 @@ This package contains library source intended for building other packages which use "scoped_threadpool" feature of "%{crate}" crate. %files -n %{name}+scoped_threadpool-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tga-devel Summary: %{summary} @@ -231,7 +234,7 @@ This package contains library source intended for building other packages which use "tga" feature of "%{crate}" crate. %files -n %{name}+tga-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tiff-devel Summary: %{summary} @@ -243,7 +246,7 @@ This package contains library source intended for building other packages which use "tiff" feature of "%{crate}" crate. %files -n %{name}+tiff-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+webp-devel Summary: %{summary} @@ -255,7 +258,7 @@ This package contains library source intended for building other packages which use "webp" feature of "%{crate}" crate. %files -n %{name}+webp-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -277,6 +280,9 @@ which use "webp" feature of "%{crate}" crate. %endif %changelog +* Thu Jan 16 2020 Josh Stone - 0.22.4-1 +- Update to 0.22.4 + * Tue Nov 19 2019 Josh Stone - 0.22.3-1 - Update to 0.22.3 diff --git a/sources b/sources index 1c8af07..93ab6a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (image-0.22.3.crate) = 358947a27c59dd0c075995e638a55dc5c0ccd4c003442a676ca5175547c0fb898129f61992c241f729b312f5a5fd88d12b45d0ae3dfe7dfbf3f33990b479e003 +SHA512 (image-0.22.4.crate) = d6e2c0582661939769e888e07160d6ace7501ce8dc43474ca75fb6ab9bacb0446f0862b1fed83e25ce19ca551405bdaaa61d26761c58f0f31a3637fb8adaf31b