Compare commits

..

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

27
.gitignore vendored

@ -1,26 +1 @@
/image-0.21.0.crate
/image-0.21.1.crate
/image-0.21.2.crate
/image-0.22.1.crate
/image-0.22.2.crate
/image-0.22.3.crate
/image-0.22.4.crate
/image-0.23.0.crate
/image-0.23.1.crate
/image-0.23.2.crate
/image-0.23.3.crate
/image-0.23.4.crate
/image-0.23.5.crate
/image-0.23.6.crate
/image-0.23.7.crate
/image-0.23.8.crate
/image-0.23.9.crate
/image-0.23.10.crate
/image-0.23.11.crate
/image-0.23.12.crate
/image-0.23.13.crate
/image-0.23.14.crate
/image-0.24.3.crate
/image-0.24.4.crate
/image-0.24.6.crate
/image-0.24.7.crate
SOURCES/image-0.25.5.crate

@ -0,0 +1 @@
ab6fba2e1959183e99a7f09bce88b8f0e4a75cd7 SOURCES/image-0.25.5.crate

@ -1,3 +0,0 @@
# rust-image
The rust-image package

@ -0,0 +1,44 @@
--- image-0.25.5/Cargo.toml 1970-01-01T00:00:01+00:00
+++ image-0.25.5/Cargo.toml 2024-11-16T16:55:51.343632+00:00
@@ -57,31 +57,6 @@
name = "image"
path = "src/lib.rs"
-[[bench]]
-name = "blur"
-path = "benches/blur.rs"
-harness = false
-
-[[bench]]
-name = "copy_from"
-path = "benches/copy_from.rs"
-harness = false
-
-[[bench]]
-name = "decode"
-path = "benches/decode.rs"
-harness = false
-
-[[bench]]
-name = "encode"
-path = "benches/encode.rs"
-harness = false
-
-[[bench]]
-name = "fast_blur"
-path = "benches/fast_blur.rs"
-harness = false
-
[dependencies.bytemuck]
version = "1.8.0"
features = ["extern_crate_alloc"]
@@ -158,9 +133,6 @@
[dev-dependencies.crc32fast]
version = "1.2.0"
-
-[dev-dependencies.criterion]
-version = "0.5.0"
[dev-dependencies.glob]
version = "0.3"

@ -0,0 +1,37 @@
[package]
cargo-toml-patch-comments = [
"drop unused, benchmark-only criterion dev-dependency",
]
[features]
hide = [
"benchmarks",
# missing dependency: mp4parse ^0.17
"avif-native",
]
[tests]
skip = [
"codecs::bmp::decoder::test::read_rect",
"codecs::bmp::decoder::test::test_no_header",
"codecs::jpeg::decoder::tests::test_exif_orientation",
"codecs::openexr::test::compare_cropped",
"codecs::openexr::test::compare_exr_hdr",
"codecs::openexr::test::compare_rgba_rgb",
"codecs::png::tests::ensure_no_decoder_off_by_one",
"codecs::png::tests::underlying_error",
"codecs::qoi::tests::decode_test_image",
"codecs::tga::encoder::tests::compressed::round_trip_bw",
"dynimage::test::image_dimensions",
"dynimage::test::open_16bpc_png",
"imageops::sample::tests::resize_transparent_image",
"imageops::sample::tests::test_resize_same_size",
"imageops::sample::tests::test_sample_bilinear",
"imageops::sample::tests::test_sample_nearest",
"imageops::tests::fast_blur_approximates_gaussian_blur_well",
]
skip-exact = true
comments = [
"skip tests that require files which are not included in published crates",
]

@ -0,0 +1,468 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate image
Name: rust-image
Version: 0.25.5
Release: %autorelease
Summary: Imaging library
License: MIT OR Apache-2.0
URL: https://crates.io/crates/image
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
Patch: image-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Imaging library. Provides basic image processing and encoders/decoders
for common image formats.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGES.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+avif-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+avif-devel %{_description}
This package contains library source intended for building other packages which
use the "avif" feature of the "%{crate}" crate.
%files -n %{name}+avif-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bmp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bmp-devel %{_description}
This package contains library source intended for building other packages which
use the "bmp" feature of the "%{crate}" crate.
%files -n %{name}+bmp-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+color_quant-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+color_quant-devel %{_description}
This package contains library source intended for building other packages which
use the "color_quant" feature of the "%{crate}" crate.
%files -n %{name}+color_quant-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dds-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dds-devel %{_description}
This package contains library source intended for building other packages which
use the "dds" feature of the "%{crate}" crate.
%files -n %{name}+dds-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+default-formats-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-formats-devel %{_description}
This package contains library source intended for building other packages which
use the "default-formats" feature of the "%{crate}" crate.
%files -n %{name}+default-formats-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+exr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+exr-devel %{_description}
This package contains library source intended for building other packages which
use the "exr" feature of the "%{crate}" crate.
%files -n %{name}+exr-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+ff-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ff-devel %{_description}
This package contains library source intended for building other packages which
use the "ff" feature of the "%{crate}" crate.
%files -n %{name}+ff-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+gif-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gif-devel %{_description}
This package contains library source intended for building other packages which
use the "gif" feature of the "%{crate}" crate.
%files -n %{name}+gif-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hdr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hdr-devel %{_description}
This package contains library source intended for building other packages which
use the "hdr" feature of the "%{crate}" crate.
%files -n %{name}+hdr-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+ico-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ico-devel %{_description}
This package contains library source intended for building other packages which
use the "ico" feature of the "%{crate}" crate.
%files -n %{name}+ico-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+jpeg-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+jpeg-devel %{_description}
This package contains library source intended for building other packages which
use the "jpeg" feature of the "%{crate}" crate.
%files -n %{name}+jpeg-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nasm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nasm-devel %{_description}
This package contains library source intended for building other packages which
use the "nasm" feature of the "%{crate}" crate.
%files -n %{name}+nasm-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+png-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+png-devel %{_description}
This package contains library source intended for building other packages which
use the "png" feature of the "%{crate}" crate.
%files -n %{name}+png-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pnm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+pnm-devel %{_description}
This package contains library source intended for building other packages which
use the "pnm" feature of the "%{crate}" crate.
%files -n %{name}+pnm-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+qoi-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+qoi-devel %{_description}
This package contains library source intended for building other packages which
use the "qoi" feature of the "%{crate}" crate.
%files -n %{name}+qoi-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rayon-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rayon-devel %{_description}
This package contains library source intended for building other packages which
use the "rayon" feature of the "%{crate}" crate.
%files -n %{name}+rayon-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tga-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tga-devel %{_description}
This package contains library source intended for building other packages which
use the "tga" feature of the "%{crate}" crate.
%files -n %{name}+tga-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tiff-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tiff-devel %{_description}
This package contains library source intended for building other packages which
use the "tiff" feature of the "%{crate}" crate.
%files -n %{name}+tiff-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+webp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+webp-devel %{_description}
This package contains library source intended for building other packages which
use the "webp" feature of the "%{crate}" crate.
%files -n %{name}+webp-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
# * skip tests that require files which are not included in published crates
%cargo_test -- -- --exact --skip codecs::bmp::decoder::test::read_rect --skip codecs::bmp::decoder::test::test_no_header --skip codecs::jpeg::decoder::tests::test_exif_orientation --skip codecs::openexr::test::compare_cropped --skip codecs::openexr::test::compare_exr_hdr --skip codecs::openexr::test::compare_rgba_rgb --skip codecs::png::tests::ensure_no_decoder_off_by_one --skip codecs::png::tests::underlying_error --skip codecs::qoi::tests::decode_test_image --skip codecs::tga::encoder::tests::compressed::round_trip_bw --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 imageops::sample::tests::test_sample_bilinear --skip imageops::sample::tests::test_sample_nearest --skip imageops::tests::fast_blur_approximates_gaussian_blur_well
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.25.5-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sat Nov 16 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.25.5-1
- Update to version 0.25.5; Fixes RHBZ#2319239
* Sat Aug 17 2024 Fabio Valentini <decathorpe@gmail.com> - 0.25.2-1
- Update to version 0.25.2; Fixes RHBZ#2268816
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Feb 26 2024 Fabio Valentini <decathorpe@gmail.com> - 0.24.9-1
- Update to version 0.24.9; Fixes RHBZ#2265612
* Mon Feb 19 2024 Fabio Valentini <decathorpe@gmail.com> - 0.24.8-3
- Include upstream patches to fix test failures on s390x and i686
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 13 2024 Fabio Valentini <decathorpe@gmail.com> - 0.24.8-1
- Update to version 0.24.8; Fixes RHBZ#2258266
* Wed Aug 23 2023 Kalev Lember <klember@redhat.com> - 0.24.7-2
- Enable qoi support now that rust-qoi is packaged in Fedora
* Sat Aug 12 2023 Kalev Lember <klember@redhat.com> - 0.24.7-1
- Update to version 0.24.7; Fixes RHBZ#2230218
* Tue Aug 08 2023 Kalev Lember <klember@redhat.com> - 0.24.6-1
- Update to version 0.24.6; Fixes RHBZ#2142172
* Tue Aug 08 2023 Kalev Lember <klember@redhat.com> - 0.24.4-4
- Re-generate packaging with rust2rpm 24
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Oct 05 2022 Fabio Valentini <decathorpe@gmail.com> - 0.24.4-1
- Update to version 0.24.4; Fixes RHBZ#2129649
* Sun Aug 21 2022 Fabio Valentini <decathorpe@gmail.com> - 0.24.3-1
- Update to version 0.24.3; Fixes RHBZ#2048826
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.14-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Mar 03 2021 Fabio Valentini <decathorpe@gmail.com> - 0.23.14-1
- Update to version 0.23.14.
* Sun Feb 07 2021 Fabio Valentini <decathorpe@gmail.com> - 0.23.13-1
- Update to version 0.23.13.
- Fixes RHBZ#1925270
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 19 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.12-1
- Update to version 0.23.12.
- Fixes RHBZ#1899328
* Sat Nov 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.11-1
- Update to version 0.23.11.
- Fixes RHBZ#1891340
* Mon Oct 19 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.10-1
- Update to version 0.23.10.
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.9-1
- Update to version 0.23.9.
* Wed Jul 29 2020 Josh Stone <jistone@redhat.com> - 0.23.8-1
- Update to 0.23.8
* Tue Jul 14 2020 Josh Stone <jistone@redhat.com> - 0.23.7-1
- Update to 0.23.7
* Fri Jun 26 2020 Josh Stone <jistone@redhat.com> - 0.23.6-1
- Update to 0.23.6
* Thu Jun 11 2020 Josh Stone <jistone@redhat.com> - 0.23.5-1
- Update to 0.23.5
* Tue Apr 21 2020 Josh Stone <jistone@redhat.com> - 0.23.4-1
- Update to 0.23.4
* Wed Apr 08 2020 Josh Stone <jistone@redhat.com> - 0.23.3-1
- Update to 0.23.3
* Tue Mar 17 2020 Josh Stone <jistone@redhat.com> - 0.23.2-1
- Update to 0.23.2
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.23.1-1
- Update to 0.23.1
* Mon Mar 02 2020 Josh Stone <jistone@redhat.com> - 0.23.0-2
- Bump to png 0.16
* Mon Feb 17 10:58:48 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.23.0-1
- Update to 0.23.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Josh Stone <jistone@redhat.com> - 0.22.4-1
- Update to 0.22.4
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.22.3-1
- Update to 0.22.3
* Sun Sep 08 16:53:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.2-1
- Update to 0.22.2
* Sun Sep 01 20:48:08 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.1-1
- Update to 0.22.1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jun 22 20:49:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.2-2
- Regenerate
* Sun Jun 09 17:07:34 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.2-1
- Update to 0.21.2
* Mon Apr 15 2019 Josh Stone <jistone@redhat.com> - 0.21.1-1
- Update to 0.21.1
* Fri Mar 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.0-1
- Initial package
## END: Generated by rpmautospec

@ -1,93 +0,0 @@
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.14-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Mar 03 2021 Fabio Valentini <decathorpe@gmail.com> - 0.23.14-1
- Update to version 0.23.14.
* Sun Feb 07 2021 Fabio Valentini <decathorpe@gmail.com> - 0.23.13-1
- Update to version 0.23.13.
- Fixes RHBZ#1925270
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 19 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.12-1
- Update to version 0.23.12.
- Fixes RHBZ#1899328
* Sat Nov 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.11-1
- Update to version 0.23.11.
- Fixes RHBZ#1891340
* Mon Oct 19 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.10-1
- Update to version 0.23.10.
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.23.9-1
- Update to version 0.23.9.
* Wed Jul 29 2020 Josh Stone <jistone@redhat.com> - 0.23.8-1
- Update to 0.23.8
* Tue Jul 14 2020 Josh Stone <jistone@redhat.com> - 0.23.7-1
- Update to 0.23.7
* Fri Jun 26 2020 Josh Stone <jistone@redhat.com> - 0.23.6-1
- Update to 0.23.6
* Thu Jun 11 2020 Josh Stone <jistone@redhat.com> - 0.23.5-1
- Update to 0.23.5
* Tue Apr 21 2020 Josh Stone <jistone@redhat.com> - 0.23.4-1
- Update to 0.23.4
* Wed Apr 08 2020 Josh Stone <jistone@redhat.com> - 0.23.3-1
- Update to 0.23.3
* Tue Mar 17 2020 Josh Stone <jistone@redhat.com> - 0.23.2-1
- Update to 0.23.2
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.23.1-1
- Update to 0.23.1
* Mon Mar 02 2020 Josh Stone <jistone@redhat.com> - 0.23.0-2
- Bump to png 0.16
* Mon Feb 17 10:58:48 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.23.0-1
- Update to 0.23.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Josh Stone <jistone@redhat.com> - 0.22.4-1
- Update to 0.22.4
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.22.3-1
- Update to 0.22.3
* Sun Sep 08 16:53:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.2-1
- Update to 0.22.2
* Sun Sep 01 20:48:08 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.1-1
- Update to 0.22.1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jun 22 20:49:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.2-2
- Regenerate
* Sun Jun 09 17:07:34 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.2-1
- Update to 0.21.2
* Mon Apr 15 2019 Josh Stone <jistone@redhat.com> - 0.21.1-1
- Update to 0.21.1
* Fri Mar 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.0-1
- Initial package

@ -1,20 +0,0 @@
--- image-0.24.7/Cargo.toml 1970-01-01T00:00:01+00:00
+++ image-0.24.7/Cargo.toml 2023-08-23T11:36:37.984256+00:00
@@ -122,9 +122,6 @@
[dev-dependencies.crc32fast]
version = "1.2.0"
-[dev-dependencies.criterion]
-version = "0.4"
-
[dev-dependencies.glob]
version = "0.3"
@@ -169,7 +166,6 @@
"dds",
"farbfeld",
"jpeg_rayon",
- "openexr",
"qoi",
]
dxt = []

@ -1,255 +0,0 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate image
Name: rust-image
Version: 0.24.7
Release: %autorelease
Summary: Imaging library
License: MIT
URL: https://crates.io/crates/image
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
Patch: image-fix-metadata.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Imaging library. Provides basic image processing and encoders/decoders
for common image formats.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/CHANGES.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bmp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bmp-devel %{_description}
This package contains library source intended for building other packages which
use the "bmp" feature of the "%{crate}" crate.
%files -n %{name}+bmp-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dds-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dds-devel %{_description}
This package contains library source intended for building other packages which
use the "dds" feature of the "%{crate}" crate.
%files -n %{name}+dds-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dxt-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dxt-devel %{_description}
This package contains library source intended for building other packages which
use the "dxt" feature of the "%{crate}" crate.
%files -n %{name}+dxt-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+farbfeld-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+farbfeld-devel %{_description}
This package contains library source intended for building other packages which
use the "farbfeld" feature of the "%{crate}" crate.
%files -n %{name}+farbfeld-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+gif-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gif-devel %{_description}
This package contains library source intended for building other packages which
use the "gif" feature of the "%{crate}" crate.
%files -n %{name}+gif-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hdr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hdr-devel %{_description}
This package contains library source intended for building other packages which
use the "hdr" feature of the "%{crate}" crate.
%files -n %{name}+hdr-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+ico-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ico-devel %{_description}
This package contains library source intended for building other packages which
use the "ico" feature of the "%{crate}" crate.
%files -n %{name}+ico-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+jpeg-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+jpeg-devel %{_description}
This package contains library source intended for building other packages which
use the "jpeg" feature of the "%{crate}" crate.
%files -n %{name}+jpeg-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+jpeg_rayon-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+jpeg_rayon-devel %{_description}
This package contains library source intended for building other packages which
use the "jpeg_rayon" feature of the "%{crate}" crate.
%files -n %{name}+jpeg_rayon-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+png-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+png-devel %{_description}
This package contains library source intended for building other packages which
use the "png" feature of the "%{crate}" crate.
%files -n %{name}+png-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pnm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+pnm-devel %{_description}
This package contains library source intended for building other packages which
use the "pnm" feature of the "%{crate}" crate.
%files -n %{name}+pnm-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+qoi-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+qoi-devel %{_description}
This package contains library source intended for building other packages which
use the "qoi" feature of the "%{crate}" crate.
%files -n %{name}+qoi-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tga-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tga-devel %{_description}
This package contains library source intended for building other packages which
use the "tga" feature of the "%{crate}" crate.
%files -n %{name}+tga-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tiff-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tiff-devel %{_description}
This package contains library source intended for building other packages which
use the "tiff" feature of the "%{crate}" crate.
%files -n %{name}+tiff-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+webp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+webp-devel %{_description}
This package contains library source intended for building other packages which
use the "webp" feature of the "%{crate}" crate.
%files -n %{name}+webp-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%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 codecs::qoi::tests::decode_test_image --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 imageops::sample::tests::test_sample_bilinear --skip imageops::sample::tests::test_sample_nearest --skip codecs::bmp::decoder::test::test_no_header
%endif
%changelog
%autochangelog

@ -1,15 +0,0 @@
[DEFAULT]
unwanted-features =
dav1d
dcv-color-primitives
libwebp
mp4parse
ravif
rgb
avif
avif-decoder
avif-encoder
benchmarks
openexr
webp-encoder
exr

@ -1 +0,0 @@
SHA512 (image-0.24.7.crate) = 8c08bb61645a369b5f5713cc296b7de3f245d9b7079801d3cec3d95bd3556d636937898f1bbd1ec18bcba57d4c49f52cf042cbb0244342d030a6dff98c290f6b
Loading…
Cancel
Save