The package rpms/rust-hyper-tls0.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-hyper-tls0.4.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8c3a1f84c1add54dd79cebd5440ff372baf6357b
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Mar 7 22:17:42 2021 +0100
initial import (hyper-tls 0.4 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..09dc7c8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/hyper-tls-0.4.3.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index c29579f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hyper-tls0.4
-
-The rust-hyper-tls0.4 package
diff --git a/hyper-tls-fix-metadata.diff b/hyper-tls-fix-metadata.diff
new file mode 100644
index 0000000..e5686eb
--- /dev/null
+++ b/hyper-tls-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- hyper-tls-0.4.3/Cargo.toml 2020-07-06T21:21:38+00:00
++++ hyper-tls-0.4.3/Cargo.toml 2021-03-07T21:15:32.059473+00:00
+@@ -40,6 +40,3 @@
+ [dev-dependencies.tokio]
+ version = "0.2"
+ features = ["io-std", "macros"]
+-
+-[features]
+-vendored = ["native-tls/vendored"]
diff --git a/rust-hyper-tls0.4.spec b/rust-hyper-tls0.4.spec
new file mode 100644
index 0000000..603f79c
--- /dev/null
+++ b/rust-hyper-tls0.4.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate hyper-tls
+
+Name: rust-%{crate}0.4
+Version: 0.4.3
+Release: 1%{?dist}
+Summary: Default TLS implementation for use with hyper
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/hyper-tls
+Source: %{crates_source}
+# Initial patched metadata
+# * No vendored feature
+Patch0: hyper-tls-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Default TLS implementation for use with hyper.}
+
+%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
+%cargo_test
+%endif
+
+%changelog
+* Sun Mar 07 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.4.3-1
+- Initial compat package for hyper-tls 0.4
diff --git a/sources b/sources
new file mode 100644
index 0000000..325b894
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hyper-tls-0.4.3.crate) =
4b16103a8490d9b39569b589747dbcad60cb5a904cfc1bbd19fd6770bb7a67ea3de0afbe46b3f08f107a8e6ad00bf74e2049d99b5d4d1cd04f1dcec4b0a3c301