|
|
|
@ -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 <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
|
|
|
|
|
|
|
|
|
|