add missing diff, rework to re-add bzip2 support

epel9
Michel Alexandre Salim 5 years ago
parent 2b0671a05b
commit 5243de7db3

@ -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}

@ -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"]
Loading…
Cancel
Save