From 9950af07983b6b375b03d6347434a7b99f8abc10 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 7 Jun 2021 18:16:33 +0200 Subject: [PATCH] update to version 0.20.3 --- .gitignore | 1 + .rust2rpm.conf | 11 --- rust-trust-dns-resolver.spec | 117 ++++++++++++++++++++++++++- sources | 2 +- trust-dns-resolver-fix-metadata.diff | 4 +- 5 files changed, 118 insertions(+), 17 deletions(-) delete mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 95edef4..1b56547 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /trust-dns-resolver-0.19.6.crate /trust-dns-resolver-0.20.0.crate /trust-dns-resolver-0.20.1.crate +/trust-dns-resolver-0.20.3.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index 513039e..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,11 +0,0 @@ -[DEFAULT] -unwanted-features = - dnssec-ring - dns-over-https - dns-over-https-rustls - dns-over-rustls - rustls - tokio-rustls - trust-dns-https - trust-dns-rustls - webpki-roots diff --git a/rust-trust-dns-resolver.spec b/rust-trust-dns-resolver.spec index c681c69..6e5e812 100644 --- a/rust-trust-dns-resolver.spec +++ b/rust-trust-dns-resolver.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 17 # * /etc/hosts and /etc/resolv.conf are not available in mock # * no internet connectivity in mock %bcond_with check @@ -7,7 +7,7 @@ %global crate trust-dns-resolver Name: rust-%{crate} -Version: 0.20.1 +Version: 0.20.3 Release: 1%{?dist} Summary: Trust-DNS is a safe and secure DNS library @@ -16,7 +16,7 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/trust-dns-resolver Source: %{crates_source} # Initial patched metadata -# * Drop windows-specific dependencies +# * drop windows-specific dependencies and features Patch0: trust-dns-resolver-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -72,6 +72,30 @@ which use "backtrace" feature of "%{crate}" crate. %files -n %{name}+backtrace-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "dns-over-https" feature of "%{crate}" crate. + +%files -n %{name}+dns-over-https-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 Summary: %{summary} BuildArch: noarch @@ -96,6 +120,18 @@ which use "dns-over-openssl" feature of "%{crate}" crate. %files -n %{name}+dns-over-openssl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 Summary: %{summary} BuildArch: noarch @@ -132,6 +168,18 @@ which use "dnssec-openssl" feature of "%{crate}" crate. %files -n %{name}+dnssec-openssl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 @@ -156,6 +204,18 @@ which use "resolv-conf" feature of "%{crate}" crate. %files -n %{name}+resolv-conf-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 Summary: %{summary} BuildArch: noarch @@ -252,6 +312,30 @@ which use "tokio-runtime" feature of "%{crate}" crate. %files -n %{name}+tokio-runtime-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 @@ -276,6 +360,30 @@ 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 %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -295,6 +403,9 @@ which use "trust-dns-openssl" feature of "%{crate}" crate. %endif %changelog +* Mon Jun 07 2021 Fabio Valentini - 0.20.3-1 +- Update to version 0.20.3. + * Sun Mar 28 2021 Fabio Valentini - 0.20.1-1 - Update to version 0.20.1. diff --git a/sources b/sources index d4dbe82..37012e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (trust-dns-resolver-0.20.1.crate) = 5dfd640c908ff4353023f2609eba58edb08b00abeb485db1b9e74e9f74bd1114ed8bc0ac891129dfe73f604f22c6707a12672153d615815c5af0643310616d0b +SHA512 (trust-dns-resolver-0.20.3.crate) = ebb2fe01e1ea56d5cb120ebc6bae2a3d8c2344a219eadd24afba1744e83b4f381ab765ef9d64ccc27bfae5f02b92a8b357f35200cc74ce23734b8ebe5e418e05 diff --git a/trust-dns-resolver-fix-metadata.diff b/trust-dns-resolver-fix-metadata.diff index 47fdb1c..0ec986f 100644 --- a/trust-dns-resolver-fix-metadata.diff +++ b/trust-dns-resolver-fix-metadata.diff @@ -1,5 +1,5 @@ ---- trust-dns-resolver-0.20.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ trust-dns-resolver-0.20.1/Cargo.toml 2021-03-28T21:04:24.167616+00:00 +--- trust-dns-resolver-0.20.3/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ trust-dns-resolver-0.20.3/Cargo.toml 2021-06-07T13:49:24.078244+00:00 @@ -128,12 +128,9 @@ dnssec-ring = ["dnssec", "trust-dns-proto/dnssec-ring"] mdns = ["trust-dns-proto/mdns"]