The package rpms/rust-plotters-bitmap.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-bitmap.git/commit/?....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b28c1bae29cc20abc08df8a51615a2d7cea141e0
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Mon Jun 14 17:03:59 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1263c34
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/plotters-bitmap-0.3.1.crate
diff --git a/plotters-bitmap-fix-metadata.diff b/plotters-bitmap-fix-metadata.diff
new file mode 100644
index 0000000..6d7d827
--- /dev/null
+++ b/plotters-bitmap-fix-metadata.diff
@@ -0,0 +1,13 @@
+--- plotters-bitmap-0.3.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ plotters-bitmap-0.3.1/Cargo.toml 2021-06-13T02:45:55.610710+00:00
+@@ -26,10 +26,6 @@
+
+ [dependencies.plotters-backend]
+ version = "0.3.*"
+-[dev-dependencies.plotters]
+-version = "^0.3.0"
+-features = ["ttf"]
+-default_features = false
+
+ [features]
+ default = ["image_encoder", "gif_backend"]
diff --git a/rust-plotters-bitmap.spec b/rust-plotters-bitmap.spec
new file mode 100644
index 0000000..ae660d6
--- /dev/null
+++ b/rust-plotters-bitmap.spec
@@ -0,0 +1,127 @@
+# Generated by rust2rpm 17
+# Remove test because of circular dependency to plotters/ttf
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate plotters-bitmap
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: Plotters Bitmap Backend
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/plotters-bitmap
+Source: %{crates_source}
+# Initial patched metadata
+# Remove plotters/ttf dependency
+Patch0: plotters-bitmap-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Plotters Bitmap 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}+gif-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+gif-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "gif" feature of "%{crate}" crate.
+
+%files -n %{name}+gif-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+gif_backend-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+gif_backend-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "gif_backend" feature of "%{crate}" crate.
+
+%files -n %{name}+gif_backend-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+image-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+image-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "image" feature of "%{crate}" crate.
+
+%files -n %{name}+image-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+image_encoder-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+image_encoder-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "image_encoder" feature of "%{crate}" crate.
+
+%files -n %{name}+image_encoder-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:55 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..d37fc5b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (plotters-bitmap-0.3.1.crate) =
de7e766472c97b876278e2ed7dff49e98373dd8b72b907664a90703dc0cfb4a72e82ce7b1dda246659fb452ce03232e07a927c79adf45718eeeca5b43ff429d1