diff --git a/libdeflater-fix-metadata.diff b/libdeflater-fix-metadata.diff index c162971..06df28e 100644 --- a/libdeflater-fix-metadata.diff +++ b/libdeflater-fix-metadata.diff @@ -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" diff --git a/rust-libdeflater.spec b/rust-libdeflater.spec index ebf124c..7112d64 100644 --- a/rust-libdeflater.spec +++ b/rust-libdeflater.spec @@ -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 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..1781693 --- /dev/null +++ b/rust2rpm.toml @@ -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", +]