Avoid an unnecessary and unwanted ruby dependency

Signed-off-by: Benjamin A. Beasley <code@musicinmybrain.net>
epel10
Benjamin A. Beasley 12 months ago
parent 026c696021
commit 70c85f2a77

@ -1,6 +1,14 @@
--- libdeflater-1.19.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libdeflater-1.19.0/Cargo.toml 2024-01-05T18:52:52.684801+00:00
@@ -43,9 +43,6 @@
+++ libdeflater-1.19.0/Cargo.toml 2024-01-06T20:33:14.597662+00:00
@@ -32,6 +32,7 @@
]
license = "Apache-2.0"
repository = "https://github.com/adamkewley/libdeflater"
+exclude = ["/scripts"]
[[bench]]
name = "benchmarks"
@@ -43,9 +44,6 @@
[dev-dependencies.adler32]
version = "1.2.0"

@ -14,6 +14,8 @@ URL: https://crates.io/crates/libdeflater
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# - Do not depend on criterion; it is needed only for benchmarks.
# - Exclude the scripts directory to avoid generating an unwanted and
# unnecessary dependency on ruby from the -devel subpackage
Patch: libdeflater-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

Loading…
Cancel
Save