|
|
@ -5,7 +5,7 @@
|
|
|
|
%global crate image
|
|
|
|
%global crate image
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-image
|
|
|
|
Name: rust-image
|
|
|
|
Version: 0.24.4
|
|
|
|
Version: 0.24.6
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Imaging library written in Rust
|
|
|
|
Summary: Imaging library written in Rust
|
|
|
|
|
|
|
|
|
|
|
@ -15,6 +15,7 @@ Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
# * disable little-endian-only openexr feature
|
|
|
|
# * disable little-endian-only openexr feature
|
|
|
|
|
|
|
|
# * disable qoi feature as we don't have rust-qoi packaged
|
|
|
|
Patch: image-fix-metadata.diff
|
|
|
|
Patch: image-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
@ -184,18 +185,6 @@ use the "pnm" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+pnm-devel
|
|
|
|
%files -n %{name}+pnm-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%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
|
|
|
|
%package -n %{name}+tga-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -248,7 +237,7 @@ use the "webp" feature of the "%{crate}" crate.
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# * skip tests with missing test files (not included in published crates)
|
|
|
|
# * 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
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|