From 5243de7db3c2f259c8a4c1d7e0639ef6abf54add Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sun, 28 Jun 2020 08:55:18 -0700 Subject: [PATCH] add missing diff, rework to re-add bzip2 support --- rust-zip.spec | 4 ++-- zip-update-walkdir.diff | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 zip-update-walkdir.diff diff --git a/rust-zip.spec b/rust-zip.spec index c7b5937..719c26b 100644 --- a/rust-zip.spec +++ b/rust-zip.spec @@ -13,8 +13,8 @@ Summary: Library to support the reading and writing of zip files License: MIT URL: https://crates.io/crates/zip Source: %{crates_source} -# Initial patched metadata -Patch0: zip-fix-metadata.diff +# Update walkdir to the version in Fedora +Patch0: zip-update-walkdir.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/zip-update-walkdir.diff b/zip-update-walkdir.diff new file mode 100644 index 0000000..127dff6 --- /dev/null +++ b/zip-update-walkdir.diff @@ -0,0 +1,12 @@ +diff -ru zip-0.5.6.orig/Cargo.toml zip-0.5.6/Cargo.toml +--- zip-0.5.6.orig/Cargo.toml 2020-06-13 08:29:17.000000000 -0700 ++++ zip-0.5.6/Cargo.toml 2020-06-28 08:48:57.102465250 -0700 +@@ -49,7 +49,7 @@ + version = "0.4" + + [dev-dependencies.walkdir] +-version = "1.0" ++version = "2.3" + + [features] + default = ["bzip2", "deflate", "time"]