diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77d023a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tiff-0.9.1.crate diff --git a/.rust-tiff.metadata b/.rust-tiff.metadata index e69de29..0f2542d 100644 --- a/.rust-tiff.metadata +++ b/.rust-tiff.metadata @@ -0,0 +1 @@ +a9ce4d7b33ac239196234929615ac13a8c6ab2d8 SOURCES/tiff-0.9.1.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..5c2462d --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["doc"] +comments = ["files for unit / integration tests are not included in published crates"] + diff --git a/SOURCES/tiff-0.9.0.crate b/SOURCES/tiff-0.9.0.crate deleted file mode 100644 index 7ca302a..0000000 Binary files a/SOURCES/tiff-0.9.0.crate and /dev/null differ diff --git a/SOURCES/tiff-fix-metadata.diff b/SOURCES/tiff-fix-metadata.diff index 4edabf1..cec6c73 100644 --- a/SOURCES/tiff-fix-metadata.diff +++ b/SOURCES/tiff-fix-metadata.diff @@ -1,6 +1,17 @@ ---- tiff-0.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ tiff-0.9.0/Cargo.toml 2023-08-12T10:33:11.633420+00:00 -@@ -43,6 +43,3 @@ +--- tiff-0.9.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tiff-0.9.1/Cargo.toml 2024-01-13T21:57:31.938819+00:00 +@@ -29,10 +29,6 @@ + repository = "https://github.com/image-rs/image-tiff" + resolver = "2" + +-[[bench]] +-name = "lzw" +-harness = false +- + [dependencies.flate2] + version = "1.0.20" + +@@ -43,6 +39,3 @@ [dependencies.weezl] version = "0.1.0" diff --git a/SPECS/rust-tiff.spec b/SPECS/rust-tiff.spec index 2d758a0..d88d693 100644 --- a/SPECS/rust-tiff.spec +++ b/SPECS/rust-tiff.spec @@ -8,14 +8,14 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate tiff Name: rust-tiff -Version: 0.9.0 +Version: 0.9.1 Release: %autorelease Summary: Decoding and encoding library in pure Rust @@ -23,10 +23,10 @@ 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 to speed up builds +# * drop unused, benchmark-only criterion dev-dependency Patch: tiff-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: TIFF decoding and encoding library in pure Rust.} @@ -61,7 +61,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -80,9 +80,12 @@ use the "default" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.9.0-1 +* Mon Jan 15 2024 Arkady L. Shane - 0.9.1-1 - Rebuilt for MSVSphere 9.3 +* 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