The package rpms/rust-image-roll.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-image-roll.git/commit/?id=8b....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8b90783370028fd1af0a8f142324cb979ad9b504
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Mon Jun 21 15:42:00 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b5d619f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/image-roll-1.1.1.crate
diff --git a/image-roll-fix-metadata.diff b/image-roll-fix-metadata.diff
new file mode 100644
index 0000000..4cd4bc2
--- /dev/null
+++ b/image-roll-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- image-roll-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ image-roll-1.1.0/Cargo.toml 2021-06-13T04:23:52.440492+00:00
+@@ -29,7 +29,7 @@
+ version = "1.0"
+
+ [dependencies.approx]
+-version = "0.4.0"
++version = "0.3.0"
+
+ [dependencies.cairo-rs]
+ version = "0.9.1"
diff --git a/rust-image-roll.spec b/rust-image-roll.spec
new file mode 100644
index 0000000..6ee1ebe
--- /dev/null
+++ b/rust-image-roll.spec
@@ -0,0 +1,60 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global __cargo_skip_build 0
+
+%global crate image-roll
+
+Name: rust-%{crate}
+Version: 1.1.1
+Release: 1%{?dist}
+Summary: Image Roll is a simple and fast GTK image viewer
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/image-roll
+Source: %{crates_source}
+# Initial patched metadata
+# Downgrade approx to 0.3
+Patch0: image-roll-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Image Roll is a simple and fast GTK image viewer with basic image manipulation
+tools.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%doc README.md
+%license LICENSE
+%{_bindir}/image-roll
+
+%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 Jun 13 00:15:50 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 1.1.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b00b28b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (image-roll-1.1.1.crate) =
b0197748a78268bd5dda5adf0f019de07e14a2e0c1cc75fc51983218b9e950dff72ba34b4b9b1c5ad576325cd234d112eb4792a4396fe915f4c2b4cd84524168