From b31f2d0ad6dbcc7ead4ae9c605da424aa5a6e626 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 29 Sep 2024 19:01:58 +0200 Subject: [PATCH] Drop unused support for the terminfo crate --- rust-color-print.spec | 24 ------------------------ rust2rpm.toml | 6 ++++++ 2 files changed, 6 insertions(+), 24 deletions(-) create mode 100644 rust2rpm.toml diff --git a/rust-color-print.spec b/rust-color-print.spec index 9f4f3f8..c055003 100644 --- a/rust-color-print.spec +++ b/rust-color-print.spec @@ -60,30 +60,6 @@ use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+terminfo-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+terminfo-devel %{_description} - -This package contains library source intended for building other packages which -use the "terminfo" feature of the "%{crate}" crate. - -%files -n %{name}+terminfo-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+terminfo_crate-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+terminfo_crate-devel %{_description} - -This package contains library source intended for building other packages which -use the "terminfo_crate" feature of the "%{crate}" crate. - -%files -n %{name}+terminfo_crate-devel -%ghost %{crate_instdir}/Cargo.toml - %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..28a60a5 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,6 @@ +[features] +hide = [ + "terminfo", + "terminfo_crate", +] +