The package rpms/rust-stderrlog.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-stderrlog.git/commit/?id=315....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 3152aa9002eedd96eecffeb0bf04ffdefbee1e9a
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Mon Jun 7 16:10:40 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..16c83f2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/stderrlog-0.5.1.crate
diff --git a/rust-stderrlog.spec b/rust-stderrlog.spec
new file mode 100644
index 0000000..f1e9fcf
--- /dev/null
+++ b/rust-stderrlog.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate stderrlog
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: 1%{?dist}
+Summary: Logger that logs to stderr based on verbosity specified
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/stderrlog
+Source: %{crates_source}
+# Initial patched metadata
+# - Relax thread_local
https://github.com/cardoe/stderrlog-rs/pull/29
+# - Relax docopt
+Patch0: stderrlog-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Logger that logs to stderr based on verbosity specified.}
+
+%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
+%doc README.md CHANGELOG.md
+%license LICENSE-MIT LICENSE-APACHE
+%{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
+* Sat Jun 05 15:48:41 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b48e5cb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (stderrlog-0.5.1.crate) =
3bc62b1d5f335bdf840cc3e1cdaa1ed273a10569bc6fdf38ca06eb40a8587ae8dc7f3eebb79dc5071f353ce4842a58e9dd310da5678441ca85a94411b7e5826b
diff --git a/stderrlog-fix-metadata.diff b/stderrlog-fix-metadata.diff
new file mode 100644
index 0000000..4454de5
--- /dev/null
+++ b/stderrlog-fix-metadata.diff
@@ -0,0 +1,17 @@
+--- stderrlog-0.5.1/Cargo.toml 2021-01-10T00:15:24+00:00
++++ stderrlog-0.5.1/Cargo.toml 2021-06-05T19:48:41.849684+00:00
+@@ -37,12 +37,12 @@
+ version = "~1.1"
+
+ [dependencies.thread_local]
+-version = "~1.0"
++version = "1.0"
+ [dev-dependencies.clap]
+ version = "~2.33.0"
+
+ [dev-dependencies.docopt]
+-version = "~1.0"
++version = "1.0"
+
+ [dev-dependencies.libc]
+ version = "0.2.18"