Update to version 0.21.2; Fixes RHBZ#2058876

epel9
Fabio Valentini 3 years ago
parent 448f1d6ad4
commit 78019b4cd7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -9,3 +9,4 @@
/trust-dns-resolver-0.20.0.crate /trust-dns-resolver-0.20.0.crate
/trust-dns-resolver-0.20.1.crate /trust-dns-resolver-0.20.1.crate
/trust-dns-resolver-0.20.3.crate /trust-dns-resolver-0.20.3.crate
/trust-dns-resolver-0.21.2.crate

@ -0,0 +1,8 @@
[DEFAULT]
unwanted-features =
rustls
tokio-rustls
webpki-roots
dns-over-https-rustls
dns-over-rustls
dnssec-ring

@ -1,4 +1,4 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 21
# * /etc/hosts and /etc/resolv.conf are not available in mock # * /etc/hosts and /etc/resolv.conf are not available in mock
# * no internet connectivity in mock # * no internet connectivity in mock
%bcond_with check %bcond_with check
@ -7,7 +7,7 @@
%global crate trust-dns-resolver %global crate trust-dns-resolver
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.20.3 Version: 0.21.2
Release: %autorelease Release: %autorelease
Summary: Trust-DNS is a safe and secure DNS library Summary: Trust-DNS is a safe and secure DNS library
@ -20,11 +20,8 @@ Source: %{crates_source}
Patch0: trust-dns-resolver-fix-metadata.diff Patch0: trust-dns-resolver-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Trust-DNS is a safe and secure DNS library. This Resolver library uses the Trust-DNS is a safe and secure DNS library. This Resolver library uses the
@ -40,13 +37,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -54,11 +52,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+backtrace-devel %package -n %{name}+backtrace-devel
Summary: %{summary} Summary: %{summary}
@ -66,11 +64,11 @@ BuildArch: noarch
%description -n %{name}+backtrace-devel %{_description} %description -n %{name}+backtrace-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "backtrace" feature of "%{crate}" crate. use the "backtrace" feature of the "%{crate}" crate.
%files -n %{name}+backtrace-devel %files -n %{name}+backtrace-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dns-over-https-devel %package -n %{name}+dns-over-https-devel
Summary: %{summary} Summary: %{summary}
@ -78,23 +76,11 @@ BuildArch: noarch
%description -n %{name}+dns-over-https-devel %{_description} %description -n %{name}+dns-over-https-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "dns-over-https" feature of "%{crate}" crate. use the "dns-over-https" feature of the "%{crate}" crate.
%files -n %{name}+dns-over-https-devel %files -n %{name}+dns-over-https-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %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 "dns-over-https-rustls" feature of "%{crate}" crate.
%files -n %{name}+dns-over-https-rustls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dns-over-native-tls-devel %package -n %{name}+dns-over-native-tls-devel
Summary: %{summary} Summary: %{summary}
@ -102,11 +88,11 @@ BuildArch: noarch
%description -n %{name}+dns-over-native-tls-devel %{_description} %description -n %{name}+dns-over-native-tls-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "dns-over-native-tls" feature of "%{crate}" crate. use the "dns-over-native-tls" feature of the "%{crate}" crate.
%files -n %{name}+dns-over-native-tls-devel %files -n %{name}+dns-over-native-tls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dns-over-openssl-devel %package -n %{name}+dns-over-openssl-devel
Summary: %{summary} Summary: %{summary}
@ -114,23 +100,11 @@ BuildArch: noarch
%description -n %{name}+dns-over-openssl-devel %{_description} %description -n %{name}+dns-over-openssl-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "dns-over-openssl" feature of "%{crate}" crate. use the "dns-over-openssl" feature of the "%{crate}" crate.
%files -n %{name}+dns-over-openssl-devel %files -n %{name}+dns-over-openssl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dns-over-rustls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dns-over-rustls-devel %{_description}
This package contains library source intended for building other packages
which use "dns-over-rustls" feature of "%{crate}" crate.
%files -n %{name}+dns-over-rustls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dns-over-tls-devel %package -n %{name}+dns-over-tls-devel
Summary: %{summary} Summary: %{summary}
@ -138,11 +112,11 @@ BuildArch: noarch
%description -n %{name}+dns-over-tls-devel %{_description} %description -n %{name}+dns-over-tls-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "dns-over-tls" feature of "%{crate}" crate. use the "dns-over-tls" feature of the "%{crate}" crate.
%files -n %{name}+dns-over-tls-devel %files -n %{name}+dns-over-tls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dnssec-devel %package -n %{name}+dnssec-devel
Summary: %{summary} Summary: %{summary}
@ -150,11 +124,11 @@ BuildArch: noarch
%description -n %{name}+dnssec-devel %{_description} %description -n %{name}+dnssec-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "dnssec" feature of "%{crate}" crate. use the "dnssec" feature of the "%{crate}" crate.
%files -n %{name}+dnssec-devel %files -n %{name}+dnssec-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dnssec-openssl-devel %package -n %{name}+dnssec-openssl-devel
Summary: %{summary} Summary: %{summary}
@ -162,35 +136,11 @@ BuildArch: noarch
%description -n %{name}+dnssec-openssl-devel %{_description} %description -n %{name}+dnssec-openssl-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "dnssec-openssl" feature of "%{crate}" crate. use the "dnssec-openssl" feature of the "%{crate}" crate.
%files -n %{name}+dnssec-openssl-devel %files -n %{name}+dnssec-openssl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dnssec-ring-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dnssec-ring-devel %{_description}
This package contains library source intended for building other packages
which use "dnssec-ring" feature of "%{crate}" crate.
%files -n %{name}+dnssec-ring-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mdns-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mdns-devel %{_description}
This package contains library source intended for building other packages
which use "mdns" feature of "%{crate}" crate.
%files -n %{name}+mdns-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+resolv-conf-devel %package -n %{name}+resolv-conf-devel
Summary: %{summary} Summary: %{summary}
@ -198,23 +148,11 @@ BuildArch: noarch
%description -n %{name}+resolv-conf-devel %{_description} %description -n %{name}+resolv-conf-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "resolv-conf" feature of "%{crate}" crate. use the "resolv-conf" feature of the "%{crate}" crate.
%files -n %{name}+resolv-conf-devel %files -n %{name}+resolv-conf-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-devel %{_description}
This package contains library source intended for building other packages
which use "rustls" feature of "%{crate}" crate.
%files -n %{name}+rustls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -222,11 +160,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-config-devel %package -n %{name}+serde-config-devel
Summary: %{summary} Summary: %{summary}
@ -234,11 +172,11 @@ BuildArch: noarch
%description -n %{name}+serde-config-devel %{_description} %description -n %{name}+serde-config-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde-config" feature of "%{crate}" crate. use the "serde-config" feature of the "%{crate}" crate.
%files -n %{name}+serde-config-devel %files -n %{name}+serde-config-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+system-config-devel %package -n %{name}+system-config-devel
Summary: %{summary} Summary: %{summary}
@ -246,11 +184,11 @@ BuildArch: noarch
%description -n %{name}+system-config-devel %{_description} %description -n %{name}+system-config-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "system-config" feature of "%{crate}" crate. use the "system-config" feature of the "%{crate}" crate.
%files -n %{name}+system-config-devel %files -n %{name}+system-config-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+testing-devel %package -n %{name}+testing-devel
Summary: %{summary} Summary: %{summary}
@ -258,11 +196,11 @@ BuildArch: noarch
%description -n %{name}+testing-devel %{_description} %description -n %{name}+testing-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "testing" feature of "%{crate}" crate. use the "testing" feature of the "%{crate}" crate.
%files -n %{name}+testing-devel %files -n %{name}+testing-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-devel %package -n %{name}+tokio-devel
Summary: %{summary} Summary: %{summary}
@ -270,11 +208,11 @@ BuildArch: noarch
%description -n %{name}+tokio-devel %{_description} %description -n %{name}+tokio-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "tokio" feature of "%{crate}" crate. use the "tokio" feature of the "%{crate}" crate.
%files -n %{name}+tokio-devel %files -n %{name}+tokio-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-native-tls-devel %package -n %{name}+tokio-native-tls-devel
Summary: %{summary} Summary: %{summary}
@ -282,11 +220,11 @@ BuildArch: noarch
%description -n %{name}+tokio-native-tls-devel %{_description} %description -n %{name}+tokio-native-tls-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "tokio-native-tls" feature of "%{crate}" crate. use the "tokio-native-tls" feature of the "%{crate}" crate.
%files -n %{name}+tokio-native-tls-devel %files -n %{name}+tokio-native-tls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-openssl-devel %package -n %{name}+tokio-openssl-devel
Summary: %{summary} Summary: %{summary}
@ -294,11 +232,11 @@ BuildArch: noarch
%description -n %{name}+tokio-openssl-devel %{_description} %description -n %{name}+tokio-openssl-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "tokio-openssl" feature of "%{crate}" crate. use the "tokio-openssl" feature of the "%{crate}" crate.
%files -n %{name}+tokio-openssl-devel %files -n %{name}+tokio-openssl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-runtime-devel %package -n %{name}+tokio-runtime-devel
Summary: %{summary} Summary: %{summary}
@ -306,83 +244,11 @@ BuildArch: noarch
%description -n %{name}+tokio-runtime-devel %{_description} %description -n %{name}+tokio-runtime-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "tokio-runtime" feature of "%{crate}" crate. use the "tokio-runtime" feature of the "%{crate}" crate.
%files -n %{name}+tokio-runtime-devel %files -n %{name}+tokio-runtime-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-rustls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-rustls-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-rustls" feature of "%{crate}" crate.
%files -n %{name}+tokio-rustls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+trust-dns-https-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+trust-dns-https-devel %{_description}
This package contains library source intended for building other packages
which use "trust-dns-https" feature of "%{crate}" crate.
%files -n %{name}+trust-dns-https-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+trust-dns-native-tls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+trust-dns-native-tls-devel %{_description}
This package contains library source intended for building other packages
which use "trust-dns-native-tls" feature of "%{crate}" crate.
%files -n %{name}+trust-dns-native-tls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+trust-dns-openssl-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+trust-dns-openssl-devel %{_description}
This package contains library source intended for building other packages
which use "trust-dns-openssl" feature of "%{crate}" crate.
%files -n %{name}+trust-dns-openssl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+trust-dns-rustls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+trust-dns-rustls-devel %{_description}
This package contains library source intended for building other packages
which use "trust-dns-rustls" feature of "%{crate}" crate.
%files -n %{name}+trust-dns-rustls-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+webpki-roots-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+webpki-roots-devel %{_description}
This package contains library source intended for building other packages
which use "webpki-roots" feature of "%{crate}" crate.
%files -n %{name}+webpki-roots-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (trust-dns-resolver-0.20.3.crate) = ebb2fe01e1ea56d5cb120ebc6bae2a3d8c2344a219eadd24afba1744e83b4f381ab765ef9d64ccc27bfae5f02b92a8b357f35200cc74ce23734b8ebe5e418e05 SHA512 (trust-dns-resolver-0.21.2.crate) = 3570c4345dc7a561ecac3de48074f104191a3716a3872e176466834e5abfc77e29e29626d2d027f02b408c48fc426b52440525e12ec5f9a1d20c14eb0b353904

@ -1,15 +1,15 @@
--- trust-dns-resolver-0.20.3/Cargo.toml 1970-01-01T00:00:00+00:00 --- trust-dns-resolver-0.21.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ trust-dns-resolver-0.20.3/Cargo.toml 2021-06-07T13:49:24.078244+00:00 +++ trust-dns-resolver-0.21.2/Cargo.toml 2022-07-17T12:23:23.156278+00:00
@@ -128,12 +128,9 @@ @@ -115,12 +115,9 @@
dnssec-openssl = ["dnssec", "trust-dns-proto/dnssec-openssl"]
dnssec-ring = ["dnssec", "trust-dns-proto/dnssec-ring"] dnssec-ring = ["dnssec", "trust-dns-proto/dnssec-ring"]
mdns = ["trust-dns-proto/mdns"]
serde-config = ["serde", "trust-dns-proto/serde-config"] serde-config = ["serde", "trust-dns-proto/serde-config"]
-system-config = ["ipconfig", "resolv-conf"] -system-config = ["ipconfig", "resolv-conf"]
+system-config = ["resolv-conf"] +system-config = ["resolv-conf"]
testing = [] testing = []
tokio-runtime = ["tokio/rt", "trust-dns-proto/tokio-runtime"] tokio-runtime = ["tokio/rt", "trust-dns-proto/tokio-runtime"]
-[target."cfg(windows)".dependencies.ipconfig] -[target."cfg(windows)".dependencies.ipconfig]
-version = "0.2.2" -version = "0.3.0"
-optional = true -optional = true
[badges.codecov] [badges.codecov]
branch = "main" branch = "main"

Loading…
Cancel
Save