Update to version 0.24.6; Fixes RHBZ#2142172

epel9
Kalev Lember 2 years ago
parent 1bb72bae2e
commit 755180c6b2

1
.gitignore vendored

@ -22,3 +22,4 @@
/image-0.23.14.crate
/image-0.24.3.crate
/image-0.24.4.crate
/image-0.24.6.crate

@ -1,5 +1,5 @@
--- image-0.24.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ image-0.24.4/Cargo.toml 2022-10-05T11:18:40.903962+00:00
--- image-0.24.6/Cargo.toml 1970-01-01T00:00:01+00:00
+++ image-0.24.6/Cargo.toml 2023-05-17T11:40:04.659560+00:00
@@ -122,9 +122,6 @@
[dev-dependencies.crc32fast]
version = "1.2.0"
@ -10,11 +10,12 @@
[dev-dependencies.glob]
version = "0.3"
@@ -169,7 +166,6 @@
@@ -169,8 +166,6 @@
"dds",
"farbfeld",
"jpeg_rayon",
- "openexr",
- "qoi",
]
dxt = []
farbfeld = []

@ -5,7 +5,7 @@
%global crate image
Name: rust-image
Version: 0.24.4
Version: 0.24.6
Release: %autorelease
Summary: Imaging library written in Rust
@ -15,6 +15,7 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * disable little-endian-only openexr feature
# * disable qoi feature as we don't have rust-qoi packaged
Patch: image-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@ -184,18 +185,6 @@ use the "pnm" feature of the "%{crate}" crate.
%files -n %{name}+pnm-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+scoped_threadpool-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+scoped_threadpool-devel %{_description}
This package contains library source intended for building other packages which
use the "scoped_threadpool" feature of the "%{crate}" crate.
%files -n %{name}+scoped_threadpool-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tga-devel
Summary: %{summary}
BuildArch: noarch
@ -248,7 +237,7 @@ use the "webp" feature of the "%{crate}" crate.
%if %{with check}
%check
# * skip tests with missing test files (not included in published crates)
%cargo_test -- -- --skip codecs::bmp::decoder::test::read_rect --skip codecs::png::tests::ensure_no_decoder_off_by_one --skip codecs::png::tests::underlying_error --skip dynimage::test::image_dimensions --skip dynimage::test::open_16bpc_png --skip imageops::sample::tests::resize_transparent_image --skip imageops::sample::tests::test_resize_same_size
%cargo_test -- -- --skip codecs::bmp::decoder::test::read_rect --skip codecs::png::tests::ensure_no_decoder_off_by_one --skip codecs::png::tests::underlying_error --skip dynimage::test::image_dimensions --skip dynimage::test::open_16bpc_png --skip imageops::sample::tests::resize_transparent_image --skip imageops::sample::tests::test_resize_same_size --skip codecs::bmp::decoder::test::test_no_header
%endif
%changelog

@ -13,3 +13,4 @@ unwanted-features =
openexr
webp-encoder
exr
qoi

@ -1 +1 @@
SHA512 (image-0.24.4.crate) = e064b2205f2a4aea4e56271e488c805d8ccb4c2099bcb8a6f226e47b6bc4f1e2851ae4b47d134fe40a2db01a9e23c20f7b3a0ef3926b7cf2ba9063a582b7fa1e
SHA512 (image-0.24.6.crate) = 559f8396cedcf7141a05e3714f2e8e33e5b5873b0ea81d50f13c8e8ca860c1ec20dc2fe89feb59c8a72eefa1bf74f2b93ab81f28aea0339b2a4c24c5e4a94803

Loading…
Cancel
Save