The package rpms/rust-helvum.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-helvum.git/commit/?id=0e11d9....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0e11d9ac7ad0b8aa9fa4f85ec515772cfe38f9c8
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Mon Jan 31 18:58:59 2022 -0800
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..21bc198
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/helvum-0.3.1.crate
diff --git a/rust-helvum.spec b/rust-helvum.spec
new file mode 100644
index 0000000..4e72d42
--- /dev/null
+++ b/rust-helvum.spec
@@ -0,0 +1,67 @@
+# Generated by rust2rpm 20
+%bcond_without check
+
+%global crate helvum
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: %autorelease
+Summary: GTK patchbay for pipewire
+
+# Upstream license specification: GPL-3.0-only
+License: GPLv3
+URL:
https://crates.io/crates/helvum
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# Meson dependencies
+BuildRequires: meson
+BuildRequires: desktop-file-utils
+
+%global _description %{expand:
+GTK patchbay for pipewire.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md
+%{_bindir}/helvum
+%{_datadir}/applications/org.freedesktop.ryuukyu.Helvum.desktop
+%{_datadir}/icons/hicolor/*/apps/org.freedesktop.ryuukyu.Helvum*.svg
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+# We will build by cargo ourselves
+sed -i -e '/\(build_by_default\|install\)/s/true/false/' src/meson.build
+sed -i -e '/dependency/d' meson.build
+sed -i -e '/Cargo.lock/d' meson.build
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+%meson
+%meson_build
+
+%install
+%cargo_install
+%meson_install
+
+%if %{with check}
+%check
+%cargo_test
+desktop-file-validate
%{buildroot}/%{_datadir}/applications/org.freedesktop.ryuukyu.Helvum.desktop
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..58db1ca
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (helvum-0.3.1.crate) =
54eefeda940719e2b0e418662c61d06fbe44bc63ab99c88ee25fa5d4d163c7881ccdcd426055ea2aceec8550d7cd38ceb1d38f1ad9367356609a2b68341ef959