diff --git a/hickory-client-fix-metadata.diff b/hickory-client-fix-metadata.diff index a47033f..6934ffc 100644 --- a/hickory-client-fix-metadata.diff +++ b/hickory-client-fix-metadata.diff @@ -1,5 +1,5 @@ --- hickory-client-0.24.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ hickory-client-0.24.1/Cargo.toml 2024-04-23T13:38:07.903125+00:00 ++++ hickory-client-0.24.1/Cargo.toml 2024-09-22T00:57:26.567391+00:00 @@ -131,14 +131,6 @@ "macros", ] diff --git a/rust-hickory-client.spec b/rust-hickory-client.spec index 205ab62..e862d8e 100644 --- a/rust-hickory-client.spec +++ b/rust-hickory-client.spec @@ -69,42 +69,6 @@ use the "backtrace" feature of the "%{crate}" crate. %files -n %{name}+backtrace-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-openssl-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dns-over-https-openssl-devel %{_description} - -This package contains library source intended for building other packages which -use the "dns-over-https-openssl" feature of the "%{crate}" crate. - -%files -n %{name}+dns-over-https-openssl-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 @@ -129,18 +93,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 6f33376..deb60e4 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -12,3 +12,12 @@ skip = ["client::async_client::tests::async_client"] skip-exact = true comments = ["skip a test that requires internet connectivity"] +[features] +hide = [ + # outdated dependencies + "dns-over-https", + "dns-over-https-openssl", + "dns-over-https-rustls", + "dns-over-quic", +] +