The package rpms/rust-lv2-worker.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-worker.git/commit/?id=74ac1....
Change: +ExcludeArch: ppc64le s390x
Thanks.
Full change: ============
commit 74ac1ecf0d85f49feaa7a25db61523bcdca22815 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sat Jul 22 22:04:42 2023 -0700
Initial import; Fixes: RHBZ#2224771
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17297de --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/lv2-worker-0.1.1.crate diff --git a/rust-lv2-worker.spec b/rust-lv2-worker.spec new file mode 100644 index 0000000..9bb01c1 --- /dev/null +++ b/rust-lv2-worker.spec @@ -0,0 +1,72 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate lv2-worker + +Name: rust-lv2-worker +Version: 0.1.1 +Release: %autorelease +Summary: Rust-lv2's work offloading library + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/lv2-worker +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +# Not supported by rust-lv2 +ExcludeArch: ppc64le s390x + +%global _description %{expand: +Rust-lv2's work offloading 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..01888f9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (lv2-worker-0.1.1.crate) = 8f0ad1ce6502dcbf8045312a7181d0ddab956d3c033d7af35f8b7a1b3d8fe1dc7386f6f7e9c0802f9956aba15be7fc45669b50e5ea6b7e5cd4da6f1a03d3bdea