## START: Set by rpmautospec ## (rpmautospec version 0.8.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 28 %bcond check 1 %global debug_package %{nil} %global crate tiff Name: rust-tiff Version: 0.11.3 Release: %autorelease Summary: TIFF decoding and encoding library in pure Rust License: MIT URL: https://crates.io/crates/tiff Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: tiff-fix-metadata.diff # * omit doctests that require data files not included in published crates # * skipping is not enough; these use include_bytes!() and wouldn’t compile Patch10: tiff-0.11.3-doctests-workspace.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: TIFF decoding and encoding library in pure Rust.} %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}+deflate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-devel %{_description} This package contains library source intended for building other packages which use the "deflate" feature of the "%{crate}" crate. %files -n %{name}+deflate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fax-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fax-devel %{_description} This package contains library source intended for building other packages which use the "fax" feature of the "%{crate}" crate. %files -n %{name}+fax-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}+lzw-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lzw-devel %{_description} This package contains library source intended for building other packages which use the "lzw" feature of the "%{crate}" crate. %files -n %{name}+lzw-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 %package -n %{name}+zstd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zstd-devel %{_description} This package contains library source intended for building other packages which use the "zstd" feature of the "%{crate}" crate. %files -n %{name}+zstd-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 # * data files for integration tests are not included in published crates # * one lib test must be skipped for the same reason %cargo_test -- --lib -- --exact --skip decoder::tests::equivalence_of_tag_readers %cargo_test -- --doc -- --exact %endif %changelog ## START: Generated by rpmautospec * Thu Apr 16 2026 Benjamin A. Beasley - 0.11.3-1 - Update to version 0.11.3; Fixes RHBZ#2427269 * Sat Jan 17 2026 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Sep 29 2025 Fabio Valentini - 0.10.3-1 - Update to version 0.10.3; Fixes RHBZ#2390956 * Tue Sep 09 2025 Fabio Valentini - 0.10.2-1 - Update to version 0.10.2 * Fri Jul 25 2025 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 13 2024 Fabio Valentini - 0.9.1-1 - Update to version 0.9.1; Fixes RHBZ#2258272 * Sat Aug 12 2023 Kalev Lember - 0.9.0-1 - Update to version 0.9.0; Fixes RHBZ#2138521 * Tue Aug 08 2023 Kalev Lember - 0.8.1-1 - Update to version 0.8.1 * Tue Aug 08 2023 Kalev Lember - 0.7.3-4 - Re-generate packaging with rust2rpm 24 * Sat Jul 22 2023 Fedora Release Engineering - 0.7.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Aug 21 2022 Fabio Valentini - 0.7.3-1 - Update to version 0.7.3; Fixes RHBZ#1964672 * Tue Aug 09 2022 Fabio Valentini - 0.6.1-6 - Bump miniz_oxide from 0.4.1 to 0.5. * Sat Jul 23 2022 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 12 2020 Fabio Valentini - 0.6.1-1 - Update to version 0.6.1. - Fixes RHBZ#1907077 * Sat Nov 07 2020 Fabio Valentini - 0.6.0-1 - Update to version 0.6.0. - Fixes RHBZ#1868785 * Sat Aug 01 2020 Fedora Release Engineering - 0.5.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 11 2020 Josh Stone - 0.5.0-1 - Update to 0.5.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 16 2020 Josh Stone - 0.4.0-1 - Update to 0.4.0 * Fri Nov 22 2019 Josh Stone - 0.3.1-2 - Bump to num-derive 0.3 * Sun Sep 01 20:58:56 CEST 2019 Igor Gnatenko - 0.3.1-1 - Update to 0.3.1 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 23 10:28:28 CEST 2019 Igor Gnatenko - 0.2.2-2 - Regenerate * Fri Mar 15 2019 Igor Gnatenko - 0.2.2-1 - Initial package ## END: Generated by rpmautospec