Use rust2rpm 26 to manage patch comments in rust2rpm.toml

[skip changelog]
epel10
Benjamin A. Beasley 10 months ago
parent cd79894161
commit 225d5a1387

@ -1,5 +1,5 @@
--- libdeflater-1.19.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libdeflater-1.19.3/Cargo.toml 2024-02-28T16:48:21.835943+00:00
+++ libdeflater-1.19.3/Cargo.toml 2024-03-11T14:44:03.719963+00:00
@@ -32,6 +32,7 @@
]
license = "Apache-2.0"

@ -1,4 +1,4 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -13,9 +13,9 @@ License: Apache-2.0
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
# * 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

@ -0,0 +1,5 @@
[package]
cargo-toml-patch-comments = [
"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",
]
Loading…
Cancel
Save