From f5c192a1d24a3f250f83d80fffc55ce8a4570085 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 22 Sep 2024 03:10:51 +0200 Subject: [PATCH] Drop unused support for dns-over-https and dns-over-quic --- hickory-resolver-fix-metadata-auto.diff | 2 +- hickory-resolver-fix-metadata.diff | 2 +- rust-hickory-resolver.spec | 48 ------------------------- rust2rpm.toml | 9 +++++ 4 files changed, 11 insertions(+), 50 deletions(-) diff --git a/hickory-resolver-fix-metadata-auto.diff b/hickory-resolver-fix-metadata-auto.diff index 440d1ab..ccd6427 100644 --- a/hickory-resolver-fix-metadata-auto.diff +++ b/hickory-resolver-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- hickory-resolver-0.24.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ hickory-resolver-0.24.1/Cargo.toml 2024-04-23T13:37:19.190933+00:00 ++++ hickory-resolver-0.24.1/Cargo.toml 2024-09-22T01:00:19.265272+00:00 @@ -219,7 +219,6 @@ "hickory-proto/serde-config", ] diff --git a/hickory-resolver-fix-metadata.diff b/hickory-resolver-fix-metadata.diff index 9c594b0..b89bd72 100644 --- a/hickory-resolver-fix-metadata.diff +++ b/hickory-resolver-fix-metadata.diff @@ -1,5 +1,5 @@ --- hickory-resolver-0.24.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ hickory-resolver-0.24.1/Cargo.toml 2024-04-23T13:37:26.549962+00:00 ++++ hickory-resolver-0.24.1/Cargo.toml 2024-09-22T01:00:41.741386+00:00 @@ -156,14 +156,6 @@ "test-util", ] diff --git a/rust-hickory-resolver.spec b/rust-hickory-resolver.spec index f9c9a4f..171420a 100644 --- a/rust-hickory-resolver.spec +++ b/rust-hickory-resolver.spec @@ -58,42 +58,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+dns-over-h3-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dns-over-h3-devel %{_description} - -This package contains library source intended for building other packages which -use the "dns-over-h3" feature of the "%{crate}" crate. - -%files -n %{name}+dns-over-h3-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+dns-over-https-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dns-over-https-devel %{_description} - -This package contains library source intended for building other packages which -use the "dns-over-https" feature of the "%{crate}" crate. - -%files -n %{name}+dns-over-https-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+dns-over-https-rustls-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dns-over-https-rustls-devel %{_description} - -This package contains library source intended for building other packages which -use the "dns-over-https-rustls" feature of the "%{crate}" crate. - -%files -n %{name}+dns-over-https-rustls-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+dns-over-native-tls-devel Summary: %{summary} BuildArch: noarch @@ -118,18 +82,6 @@ use the "dns-over-openssl" feature of the "%{crate}" crate. %files -n %{name}+dns-over-openssl-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+dns-over-quic-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dns-over-quic-devel %{_description} - -This package contains library source intended for building other packages which -use the "dns-over-quic" feature of the "%{crate}" crate. - -%files -n %{name}+dns-over-quic-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+dns-over-rustls-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index c244da2..a978eaf 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -5,3 +5,12 @@ comments = [ "no internet connectivity in mock", ] +[features] +hide = [ + # outdated dependencies + "dns-over-h3", + "dns-over-https", + "dns-over-https-rustls", + "dns-over-quic", +] +