From 165933fa5c8571ebf8d3403bdc03ae23a1743b40 Mon Sep 17 00:00:00 2001 From: blinxen Date: Mon, 8 Jul 2024 13:00:04 +0200 Subject: [PATCH] Hide feature that depends on curl/rustls (rhbz#2296260) --- rust-gix-transport.spec | 12 ------------ rust2rpm.toml | 5 +++++ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/rust-gix-transport.spec b/rust-gix-transport.spec index 2540348..96f1afa 100644 --- a/rust-gix-transport.spec +++ b/rust-gix-transport.spec @@ -194,18 +194,6 @@ use the "http-client-curl" feature of the "%{crate}" crate. %files -n %{name}+http-client-curl-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+http-client-curl-rust-tls-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+http-client-curl-rust-tls-devel %{_description} - -This package contains library source intended for building other packages which -use the "http-client-curl-rust-tls" feature of the "%{crate}" crate. - -%files -n %{name}+http-client-curl-rust-tls-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+http-client-reqwest-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index 0931098..b290b4a 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -3,3 +3,8 @@ summary = "Implementation of the git transport layer used by gix" cargo-toml-patch-comments = [ "Patch out macos feature of reqwest" ] + +[features] +hide = [ + "http-client-curl-rust-tls" +]