The package rpms/rust-lv2-state.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-lv2-state.git/commit/?id=714...
https://src.fedoraproject.org/cgit/rpms/rust-lv2-state.git/commit/?id=b49....
Change:
+%ifarch aarch64
+ExcludeArch: ppc64le s390x
Thanks.
Full change:
============
commit 714c6abf49dc0eddeac2d18d2476febd4b6317a5
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Tue Jul 25 12:24:50 2023 -0700
Stub out broken test on aarch64
diff --git a/rust-lv2-state.spec b/rust-lv2-state.spec
index 0df7231..a7f6056 100644
--- a/rust-lv2-state.spec
+++ b/rust-lv2-state.spec
@@ -68,6 +68,10 @@ use the "default" feature of the "%{crate}" crate.
%if %{with check}
%check
+%ifarch aarch64
+# Remove broken test that fails to compile
+rm tests/integration.rs
+%endif
%cargo_test
%endif
commit b4927153db7eed5ee02f1372e0c80290f9dc259a
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Tue Jul 25 12:12:15 2023 -0700
Initial import; Fixes: RHBZ#2224767
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..339115b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/lv2-state-2.0.0.crate
diff --git a/lv2-state-fix-metadata.diff b/lv2-state-fix-metadata.diff
new file mode 100644
index 0000000..d0189b2
--- /dev/null
+++ b/lv2-state-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- lv2-state-2.0.0/Cargo.toml 2020-10-23T15:19:57+00:00
++++ lv2-state-2.0.0/Cargo.toml 2023-07-22T17:21:13.702257+00:00
+@@ -34,7 +34,7 @@
+ version = "2.1.0"
+
+ [dev-dependencies.mktemp]
+-version = "0.4.0"
++version = "0.5"
+ [badges.maintenance]
+ status = "passively-maintained"
+
diff --git a/rust-lv2-state.spec b/rust-lv2-state.spec
new file mode 100644
index 0000000..0df7231
--- /dev/null
+++ b/rust-lv2-state.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 24
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate lv2-state
+
+Name: rust-lv2-state
+Version: 2.0.0
+Release: %autorelease
+Summary: Rust-lv2's state handling library
+
+License: MIT OR Apache-2.0
+URL:
https://crates.io/crates/lv2-state
+Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * bump mktemp to 0.5
+Patch: lv2-state-fix-metadata.diff
+
+BuildRequires: rust-packaging >= 21
+
+# Not supported by rust-lv2
+ExcludeArch: ppc64le s390x
+
+%global _description %{expand:
+Rust-lv2's state handling library.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/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..d4205d0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (lv2-state-2.0.0.crate) =
f40b705deda782fcb2028c2cf44b7d5348373433211f56d1bfc669e37480c41482f8fd679b4869fa4fbc7216f80eb0cca4c9eb7f238b7fa1410baf844beff20d