The package rpms/rust-plotters-svg.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-plotters-svg.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0bc777e1ced823c5a98210d40462363ec6f7a91c
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Mon Jun 14 16:53:12 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5e7a989
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/plotters-svg-0.3.0.crate
diff --git a/rust-plotters-svg.spec b/rust-plotters-svg.spec
new file mode 100644
index 0000000..a90ec25
--- /dev/null
+++ b/rust-plotters-svg.spec
@@ -0,0 +1,89 @@
+# Generated by rust2rpm 17
+# Disable test since they provoke build failure
+#
https://github.com/plotters-rs/plotters-svg/issues/4
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate plotters-svg
+
+Name: rust-%{crate}
+Version: 0.3.0
+Release: 1%{?dist}
+Summary: Plotters SVG backend
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/plotters-svg
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Plotters SVG backend.}
+
+%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
+%license LICENSE
+%{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}+debug-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+debug-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "debug" feature of "%{crate}" crate.
+
+%files -n %{name}+debug-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 12 20:06:49 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..6641796
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (plotters-svg-0.3.0.crate) =
a706b4db5160d30d1e1e2d718b511a9c3f875947ea989d981e7cf221aab3d7b1c41ceb7704956683f2ad5415e698463c0eceb1e3e60fe1f794ac90f4dd175d82