From ff36911462acad9ba16c069a01755e1f37acaac8 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 24 Sep 2024 17:01:52 +0200 Subject: [PATCH] Drop unused experimental-enum-variants-from-header feature --- rust-cxxbridge-macro.spec | 24 ------------------------ rust2rpm.toml | 7 +++++++ 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/rust-cxxbridge-macro.spec b/rust-cxxbridge-macro.spec index 38ff797..68e74c8 100644 --- a/rust-cxxbridge-macro.spec +++ b/rust-cxxbridge-macro.spec @@ -72,18 +72,6 @@ use the "experimental-async-fn" feature of the "%{crate}" crate. %files -n %{name}+experimental-async-fn-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+experimental-enum-variants-from-header-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+experimental-enum-variants-from-header-devel %{_description} - -This package contains library source intended for building other packages which -use the "experimental-enum-variants-from-header" feature of the "%{crate}" crate. - -%files -n %{name}+experimental-enum-variants-from-header-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+flate2-devel Summary: %{summary} BuildArch: noarch @@ -96,18 +84,6 @@ use the "flate2" feature of the "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+memmap-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+memmap-devel %{_description} - -This package contains library source intended for building other packages which -use the "memmap" feature of the "%{crate}" crate. - -%files -n %{name}+memmap-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index 553347c..512f559 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -2,3 +2,10 @@ run = ["none"] comments = ["tests can only be run in-tree"] +[features] +hide = [ + # outdated dependencies + "memmap", + "experimental-enum-variants-from-header", +] +