diff --git a/oxipng-fix-metadata.diff b/oxipng-fix-metadata.diff index 00482f2..117b68b 100644 --- a/oxipng-fix-metadata.diff +++ b/oxipng-fix-metadata.diff @@ -1,5 +1,5 @@ --- oxipng-5.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ oxipng-5.0.1/Cargo.toml 2021-12-15T17:02:37.876072+00:00 ++++ oxipng-5.0.1/Cargo.toml 2022-01-17T23:31:54.908377+00:00 @@ -78,7 +78,7 @@ version = "0.4.14" @@ -9,3 +9,12 @@ [dependencies.rayon] version = "^1.5.0" +@@ -96,7 +96,7 @@ + optional = true + + [dependencies.zopfli] +-version = "^0.4.0" ++version = "^0.5.0" + optional = true + [build-dependencies.rustc_version] + version = "0.4" diff --git a/rust-oxipng.spec b/rust-oxipng.spec index b126bf5..1dcfc31 100644 --- a/rust-oxipng.spec +++ b/rust-oxipng.spec @@ -14,6 +14,7 @@ URL: https://crates.io/crates/oxipng Source: %{crates_source} # Initial patched metadata # Downgrade miniz_oxide to version 0.4 +# Upgrade zopfli to version 0.5 Patch0: oxipng-fix-metadata.diff ExclusiveArch: %{rust_arches}