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