The package rpms/rust-tokio-rustls.git has added or updated architecture specific content
in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-tokio-rustls.git/commit/?id=....
Change:
+ExcludeArch: ppc64le s390x
Thanks.
Full change:
============
commit fbb2826fc0e82d1837dc3fd8b5cd12faf1b9adb9
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon May 24 19:06:56 2021 +0200
initial import (#1963063)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9960a58
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/tokio-rustls-0.22.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 97fec36..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tokio-rustls
-
-The rust-tokio-rustls package
diff --git a/rust-tokio-rustls.spec b/rust-tokio-rustls.spec
new file mode 100644
index 0000000..053cfa0
--- /dev/null
+++ b/rust-tokio-rustls.spec
@@ -0,0 +1,102 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate tokio-rustls
+
+Name: rust-%{crate}
+Version: 0.22.0
+Release: 1%{?dist}
+Summary: Asynchronous TLS/SSL streams for Tokio using Rustls
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/tokio-rustls
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+# ring is not available on ppc64le and s390x
+ExcludeArch: ppc64le s390x
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Asynchronous TLS/SSL streams for Tokio using Rustls.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+dangerous_configuration-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+dangerous_configuration-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dangerous_configuration" feature of "%{crate}" crate.
+
+%files -n %{name}+dangerous_configuration-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+early-data-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+early-data-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "early-data" feature of "%{crate}" crate.
+
+%files -n %{name}+early-data-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+# skip tests that require internet connection
+%cargo_test -- -- --skip test_tls12 --skip test_modern
+%endif
+
+%changelog
+* Fri May 21 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.22.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..efed94e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tokio-rustls-0.22.0.crate) =
cac6c5ebbdb751721f881f6e4c21e1b34ff8aea84256e25f92cecbeb30b6db3a6b2d78b7eeca253179b78a94c9226aff23492b0311d81ce27470ce939e675d0a