The package rpms/rust-tokio-openssl0.4.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-openssl0.4.git/commit/....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a252771647ded05ec8a96317f4911184966470c3
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Mar 11 00:40:57 2021 +0100
initial import (tokio-openssl 0.4 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8cf2326
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/tokio-openssl-0.4.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 4bfad9c..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tokio-openssl0.4
-
-The rust-tokio-openssl0.4 package
diff --git a/rust-tokio-openssl0.4.spec b/rust-tokio-openssl0.4.spec
new file mode 100644
index 0000000..6078556
--- /dev/null
+++ b/rust-tokio-openssl0.4.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate tokio-openssl
+
+Name: rust-%{crate}0.4
+Version: 0.4.0
+Release: 1%{?dist}
+Summary: Implementation of SSL streams for Tokio backed by OpenSSL
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/tokio-openssl
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Implementation of SSL streams for Tokio backed by OpenSSL.}
+
+%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-MIT LICENSE-APACHE
+%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
+
+%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
+# Requires network
+%cargo_test -- -- --skip google
+%endif
+
+%changelog
+* Thu Mar 11 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8ae0cc7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tokio-openssl-0.4.0.crate) =
8e59723bf080d6582e9b652ed263ad671dd0ea3b6f13ad7e4ab5c077cfcf7512b9b4bc64f305404d2844699d2a40e223f52be1af80abeffbe962e324dd14d807