From f027821cc85d57e3f445b3f765cb6f5b520a722f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 18 May 2021 15:01:24 +0200 Subject: [PATCH] update to version 0.20.3, reenable all features --- .gitignore | 1 + .rust2rpm.conf | 7 ---- rust-trust-dns-proto.spec | 73 +++++++++++++++++++++++++++++++++++++-- sources | 2 +- 4 files changed, 73 insertions(+), 10 deletions(-) delete mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 047ad9f..b57bf3b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /trust-dns-proto-0.19.6.crate /trust-dns-proto-0.20.0.crate /trust-dns-proto-0.20.1.crate +/trust-dns-proto-0.20.3.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index 14eb973..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -unwanted-features = - dnssec-ring - js-sys - ring - wasm-bindgen - wasm-bindgen-crate diff --git a/rust-trust-dns-proto.spec b/rust-trust-dns-proto.spec index 75ef329..2b19bd5 100644 --- a/rust-trust-dns-proto.spec +++ b/rust-trust-dns-proto.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate trust-dns-proto Name: rust-%{crate} -Version: 0.20.1 +Version: 0.20.3 Release: 1%{?dist} Summary: Trust-DNS is a safe and secure DNS library @@ -89,6 +89,32 @@ which use "dnssec-openssl" feature of "%{crate}" crate. %files -n %{name}+dnssec-openssl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ifnarch ppc64le s390x +%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 +%endif + +%package -n %{name}+js-sys-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+js-sys-devel %{_description} + +This package contains library source intended for building other packages +which use "js-sys" feature of "%{crate}" crate. + +%files -n %{name}+js-sys-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+mdns-devel Summary: %{summary} BuildArch: noarch @@ -113,6 +139,20 @@ which use "openssl" feature of "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ifnarch ppc64le s390x +%package -n %{name}+ring-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ring-devel %{_description} + +This package contains library source intended for building other packages +which use "ring" feature of "%{crate}" crate. + +%files -n %{name}+ring-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%endif + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -185,6 +225,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}+wasm-bindgen-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm-bindgen-devel %{_description} + +This package contains library source intended for building other packages +which use "wasm-bindgen" feature of "%{crate}" crate. + +%files -n %{name}+wasm-bindgen-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+wasm-bindgen-crate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm-bindgen-crate-devel %{_description} + +This package contains library source intended for building other packages +which use "wasm-bindgen-crate" feature of "%{crate}" crate. + +%files -n %{name}+wasm-bindgen-crate-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -204,6 +268,11 @@ which use "tokio-runtime" feature of "%{crate}" crate. %endif %changelog +* Tue May 18 2021 Fabio Valentini - 0.20.3-1 +- Update to version 0.20.3. +- Enable all available features on appropriate architectures. +- Fixes RHBZ#1951801 + * Sun Mar 28 2021 Fabio Valentini - 0.20.1-1 - Update to version 0.20.1. diff --git a/sources b/sources index cf8f11d..fc89fe0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (trust-dns-proto-0.20.1.crate) = f5bcbe1be6a2b43128daad3ac8d0d84b228c0707132b41ce5c6b9f61143adfef25fd1a288b73008ebb5eb8b97202aceb8bca223aa2f9f8f2e70fac8f8a071d62 +SHA512 (trust-dns-proto-0.20.3.crate) = 0a9366bea38d52498fbf1dc7250c07c8c4fe9fb95df3756680905b539352bebb13cd3c5cae404c48f00cf8ebb49ede11b86386a509a35a841744d88b05bd0bde