diff --git a/.gitignore b/.gitignore index d07605d..b87454f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /image-0.22.2.crate /image-0.22.3.crate /image-0.22.4.crate +/image-0.23.0.crate diff --git a/image-fix-metadata.diff b/image-fix-metadata.diff deleted file mode 100644 index bdb5aa7..0000000 --- a/image-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 676d3f2..ab9fd19 100644 --- a/rust-image.spec +++ b/rust-image.spec @@ -5,17 +5,14 @@ %global crate image Name: rust-%{crate} -Version: 0.22.4 -Release: 2%{?dist} +Version: 0.23.0 +Release: 1%{?dist} Summary: Imaging library written in Rust # Upstream license specification: MIT 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} @@ -80,40 +77,40 @@ which use "bmp" feature of "%{crate}" crate. %files -n %{name}+bmp-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+dxt-devel +%package -n %{name}+dds-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+dxt-devel %{_description} +%description -n %{name}+dds-devel %{_description} This package contains library source intended for building other packages -which use "dxt" feature of "%{crate}" crate. +which use "dds" feature of "%{crate}" crate. -%files -n %{name}+dxt-devel +%files -n %{name}+dds-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+gif-devel +%package -n %{name}+dxt-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+gif-devel %{_description} +%description -n %{name}+dxt-devel %{_description} This package contains library source intended for building other packages -which use "gif" feature of "%{crate}" crate. +which use "dxt" feature of "%{crate}" crate. -%files -n %{name}+gif-devel +%files -n %{name}+dxt-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+gif_codec-devel +%package -n %{name}+gif-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+gif_codec-devel %{_description} +%description -n %{name}+gif-devel %{_description} This package contains library source intended for building other packages -which use "gif_codec" feature of "%{crate}" crate. +which use "gif" feature of "%{crate}" crate. -%files -n %{name}+gif_codec-devel +%files -n %{name}+gif-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+hdr-devel @@ -152,18 +149,6 @@ which use "jpeg" feature of "%{crate}" crate. %files -n %{name}+jpeg-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+jpeg-decoder-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+jpeg-decoder-devel %{_description} - -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_no_tilde}/Cargo.toml - %package -n %{name}+jpeg_rayon-devel Summary: %{summary} BuildArch: noarch @@ -188,18 +173,6 @@ which use "png" feature of "%{crate}" crate. %files -n %{name}+png-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+png_codec-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+png_codec-devel %{_description} - -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_no_tilde}/Cargo.toml - %package -n %{name}+pnm-devel Summary: %{summary} BuildArch: noarch @@ -275,11 +248,14 @@ which use "webp" feature of "%{crate}" crate. %if %{with check} %check -# Missing test file -%cargo_test -- -- --skip dynimage::test::image_dimensions --skip png::tests::ensure_no_decoder_off_by_one +# Missing test files +%cargo_test -- -- --skip dynimage::test::image_dimensions --skip dynimage::test::open_16bpc_png --skip png::tests::ensure_no_decoder_off_by_one --skip png::tests::underlying_error %endif %changelog +* Mon Feb 17 10:58:48 CET 2020 Igor Raits - 0.23.0-1 +- Update to 0.23.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.22.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 93ab6a8..baf4bef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (image-0.22.4.crate) = d6e2c0582661939769e888e07160d6ace7501ce8dc43474ca75fb6ab9bacb0446f0862b1fed83e25ce19ca551405bdaaa61d26761c58f0f31a3637fb8adaf31b +SHA512 (image-0.23.0.crate) = 7e8c990b17b6d8ecb37834f5f292ff62876349ed30172c7b99c4ab177488b2841647fe0ae62f15bdd5f80c3cd2ef304862f2648d098338755fd91fb6243a174c