Compare commits

...

5 Commits

@ -1,4 +1,4 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -13,11 +13,13 @@ License: MIT
URL: https://crates.io/crates/zip
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * bump constant_time_eq dependency from 0.1 to 0.2
# * bump zstd dependency from 0.11 to 0.12
# * bump constant_time_eq dependency from 0.1 to 0.3
# * bump pbkdf2 dependency from 0.11 to 0.12
# * bump zstd dependency from 0.11 to 0.13
# * drop unused, benchmark-only bencher dev-dependency
Patch: zip-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Library to support the reading and writing of zip files.}
@ -221,7 +223,7 @@ use the "zstd" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1,2 +0,0 @@
[DEFAULT]
all-features = true

@ -0,0 +1,11 @@
[package]
cargo-toml-patch-comments = [
"bump constant_time_eq dependency from 0.1 to 0.3",
"bump pbkdf2 dependency from 0.11 to 0.12",
"bump zstd dependency from 0.11 to 0.13",
"drop unused, benchmark-only bencher dev-dependency",
]
[features]
enable-all = true

@ -1,5 +1,5 @@
--- zip-0.6.6/Cargo.toml 1970-01-01T00:00:01+00:00
+++ zip-0.6.6/Cargo.toml 2024-01-05T12:54:04.038663+00:00
+++ zip-0.6.6/Cargo.toml 2024-09-19T17:54:06.895145+00:00
@@ -50,7 +50,7 @@
optional = true
@ -9,12 +9,25 @@
optional = true
[dependencies.crc32fast]
@@ -81,7 +81,7 @@
@@ -67,7 +67,7 @@
optional = true
[dependencies.pbkdf2]
-version = "0.11.0"
+version = "0.12.0"
optional = true
[dependencies.sha1]
@@ -81,11 +81,8 @@
default-features = false
[dependencies.zstd]
-version = "0.11.2"
+version = "0.12"
+version = "0.13"
optional = true
-
-[dev-dependencies.bencher]
-version = "0.1.5"
[dev-dependencies.bencher]
[dev-dependencies.getrandom]
version = "0.2.5"

Loading…
Cancel
Save