diff --git a/rust-zip.spec b/rust-zip.spec index deddcef..6aaf6b0 100644 --- a/rust-zip.spec +++ b/rust-zip.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.5.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to support the reading and writing of zip files # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/zip Source: %{crates_source} +# Initial patched metadata +# * relax flate2 dependency to allow > 1.0.14 +Patch0: zip-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -143,6 +146,9 @@ which use "time" feature of "%{crate}" crate. %endif %changelog +* Sun Nov 08 2020 Fabio Valentini - 0.5.8-2 +- Relax flate2 dependency. + * Fri Sep 11 2020 Josh Stone - 0.5.8-1 - Update to 0.5.8 diff --git a/zip-fix-metadata.diff b/zip-fix-metadata.diff new file mode 100644 index 0000000..3275811 --- /dev/null +++ b/zip-fix-metadata.diff @@ -0,0 +1,11 @@ +--- zip-0.5.8/Cargo.toml 2020-09-10T17:52:16+00:00 ++++ zip-0.5.8/Cargo.toml 2020-11-08T16:33:07.086008+00:00 +@@ -35,7 +35,7 @@ + version = "1.0" + + [dependencies.flate2] +-version = ">=1.0.0, <=1.0.14" ++version = "1.0.0" + optional = true + default-features = false +