From 7a9b80f34af1d255f1ad2a7a6a5a73bcb787b337 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 2 Oct 2024 17:03:54 +0200 Subject: [PATCH] Drop unused support for colored to avoid pulling in compat packages --- fern-fix-metadata.diff | 2 +- rust-fern.spec | 12 ------------ rust2rpm.toml | 1 + 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/fern-fix-metadata.diff b/fern-fix-metadata.diff index 13cae60..9b01508 100644 --- a/fern-fix-metadata.diff +++ b/fern-fix-metadata.diff @@ -1,5 +1,5 @@ --- fern-0.6.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ fern-0.6.2/Cargo.toml 2024-10-02T14:59:20.417715+00:00 ++++ fern-0.6.2/Cargo.toml 2024-10-02T15:03:42.463022+00:00 @@ -39,9 +39,6 @@ [package.metadata.docs.rs] diff --git a/rust-fern.spec b/rust-fern.spec index 59ae11d..78321cc 100644 --- a/rust-fern.spec +++ b/rust-fern.spec @@ -63,18 +63,6 @@ use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+colored-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+colored-devel %{_description} - -This package contains library source intended for building other packages which -use the "colored" feature of the "%{crate}" crate. - -%files -n %{name}+colored-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+date-based-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index 0f89003..45da135 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -5,6 +5,7 @@ cargo-toml-patch-comments = [ [features] hide = [ + "colored", "reopen03", "reopen1", "reopen-03",