The package rpms/rust-plotlib.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-plotlib.git/commit/?id=222da....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 222da9e3be5c982e5d63267e5add149d9fe88dab
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Sat Aug 28 13:03:00 2021 -0700
Initial import; Fixes: RHBZ#1990502
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..020dde3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/plotlib-0.5.1.crate
diff --git a/plotlib-fix-metadata.diff b/plotlib-fix-metadata.diff
new file mode 100644
index 0000000..5e7a907
--- /dev/null
+++ b/plotlib-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- plotlib-0.5.1/Cargo.toml 2020-03-28T11:28:55+00:00
++++ plotlib-0.5.1/Cargo.toml 2021-08-05T14:31:28.417113+00:00
+@@ -25,6 +25,6 @@
+ version = "0.1.7"
+
+ [dependencies.svg]
+-version = "0.7.1"
++version = "0.10"
+ [badges.travis-ci]
+ repository = "milliams/plotlib"
diff --git a/rust-plotlib.spec b/rust-plotlib.spec
new file mode 100644
index 0000000..2d34121
--- /dev/null
+++ b/rust-plotlib.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate plotlib
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: %autorelease
+Summary: Pure Rust plotting library
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/plotlib
+Source: %{crates_source}
+# Initial patched metadata
+# Bump svg to 0.10
+#
https://github.com/milliams/plotlib/pull/70
+Patch0: plotlib-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Pure Rust plotting library.}
+
+%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
+%doc README.md CHANGELOG
+%{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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a72f33f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (plotlib-0.5.1.crate) =
7dd75912f93f77f2a035f97781191c42a8edf6f8bfa8e1f7afe8ec9bf6b7e048d62b205f1615f7d91f375c9f2b850b403a9dd11877647f24956636d70f129d0d