Drop libflate to break circular dependency

epel10
Davide Cavalca 10 months ago
parent 7ebe439625
commit 7f9be3bac6

@ -0,0 +1,18 @@
--- libflate_lz77-2.1.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libflate_lz77-2.1.0/Cargo.toml 2024-05-01T17:54:23.366782+00:00
@@ -33,15 +33,10 @@
[dependencies.rle-decode-fast]
version = "1.0.0"
-[dev-dependencies.libflate]
-version = "2.0"
-default-features = false
-
[features]
default = ["std"]
std = [
"core2/std",
- "libflate/std",
]
[badges.coveralls]

@ -12,6 +12,9 @@ Summary: LZ77 encoder for libflate crate
License: MIT
URL: https://crates.io/crates/libflate_lz77
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop libflate to break circular dependency
Patch: libflate_lz77-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -73,7 +76,8 @@ use the "std" feature of the "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# * Skip doc tests as they require libflate
%cargo_test -- --lib
%endif
%changelog

@ -0,0 +1,3 @@
[tests]
run = ["lib"]
comments = ["Skip doc tests as they require libflate"]
Loading…
Cancel
Save