diff --git a/.gitignore b/.gitignore index 66cabeb..defa29b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /zip-0.5.8.crate /zip-0.5.9.crate /zip-0.5.11.crate +/zip-0.5.12.crate diff --git a/rust-zip.spec b/rust-zip.spec index daa0ff4..d1ed808 100644 --- a/rust-zip.spec +++ b/rust-zip.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate zip Name: rust-%{crate} -Version: 0.5.11 +Version: 0.5.12 Release: 1%{?dist} Summary: Library to support the reading and writing of zip files @@ -14,7 +14,6 @@ License: MIT URL: https://crates.io/crates/zip Source: %{crates_source} # Initial patched metadata -# * relax flate2 dependency to allow > 1.0.14 (do not care about MSRV in Fedora) # * bump bzip2 from 0.3 to 0.4: https://github.com/zip-rs/zip/pull/202 Patch0: zip-fix-metadata.diff Patch1: port-to-bzip2-0.4.patch @@ -148,6 +147,10 @@ which use "time" feature of "%{crate}" crate. %endif %changelog +* Wed Apr 21 2021 Fabio Valentini - 0.5.12-1 +- Update to version 0.5.12. +- Fixes RHBZ#1950461 + * Mon Mar 01 2021 Fabio Valentini - 0.5.11-1 - Update to version 0.5.11. - Bump to bzip2 0.4. diff --git a/sources b/sources index f646786..7c3e844 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zip-0.5.11.crate) = 92e3d05af2f1020383c8573aed6a7d2964604bad74d2d92e5102b9c34185242b44c005e0a081e2517cbbbe4cdc2e78ae86881fda07557b604ece98fb94e383f2 +SHA512 (zip-0.5.12.crate) = 8ead1f24eb7c8c7624c80f8fdc17d85c397686b2cb45174bdc8cfab44417738e1d1a49ae3f776dc0fbb698b20b7de71e94afe1526f8814061289f229891d95f0 diff --git a/zip-fix-metadata.diff b/zip-fix-metadata.diff index a8bcc95..19ad350 100644 --- a/zip-fix-metadata.diff +++ b/zip-fix-metadata.diff @@ -1,6 +1,6 @@ ---- zip-0.5.11/Cargo.toml 2021-03-01T12:07:05+00:00 -+++ zip-0.5.11/Cargo.toml 2021-03-01T16:50:52.208395+00:00 -@@ -27,14 +27,14 @@ +--- zip-0.5.12/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ zip-0.5.12/Cargo.toml 2021-04-21T20:14:59.180939+00:00 +@@ -27,7 +27,7 @@ version = "1.3" [dependencies.bzip2] @@ -9,11 +9,3 @@ optional = true [dependencies.crc32fast] - version = "1.0" - - [dependencies.flate2] --version = ">=1.0.0, <=1.0.14" -+version = "1.0.0" - optional = true - default-features = false -