The package rpms/rust-lv2-atom.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-atom.git/commit/?id=fdc2a06... https://src.fedoraproject.org/cgit/rpms/rust-lv2-atom.git/commit/?id=55ec872....
Change: +%ifarch aarch64 +ExcludeArch: ppc64le s390x
Thanks.
Full change: ============
commit fdc2a060447af5c74023dd8e1ad31aee37997f35 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Mon Jul 24 08:46:01 2023 -0700
Stub out broken test on aarch64
diff --git a/rust-lv2-atom.spec b/rust-lv2-atom.spec index e041302..6727c90 100644 --- a/rust-lv2-atom.spec +++ b/rust-lv2-atom.spec @@ -77,6 +77,10 @@ use the "lv2-core" feature of the "%{crate}" crate.
%if %{with check} %check +%ifarch aarch64 +# Remove broken test that fails to compile +rm tests/atom_integration.rs +%endif %cargo_test %endif
commit 55ec872f8855e8e2bab3c2c11a2b8487633b266b Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sun Jul 23 07:06:17 2023 -0700
Initial import; Fixes: RHBZ#2224764
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d481681 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/lv2-atom-2.0.0.crate diff --git a/rust-lv2-atom.spec b/rust-lv2-atom.spec new file mode 100644 index 0000000..e041302 --- /dev/null +++ b/rust-lv2-atom.spec @@ -0,0 +1,84 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate lv2-atom + +Name: rust-lv2-atom +Version: 2.0.0 +Release: %autorelease +Summary: Rust-lv2's Atom handling library + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/lv2-atom +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +# Not supported by rust-lv2 +ExcludeArch: ppc64le s390x + +%global _description %{expand: +Rust-lv2's Atom 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 + +%package -n %{name}+lv2-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lv2-core-devel %{_description} + +This package contains library source intended for building other packages which +use the "lv2-core" feature of the "%{crate}" crate. + +%files -n %{name}+lv2-core-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..ed99276 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (lv2-atom-2.0.0.crate) = 81a16bd6d3d761a63a647d2fbecb63b04ca2e77a480185f2f78a7dd1aee15e7c90c8e50ae7b21e52cb7d5dab9052ccfce9676c0547318676cd308ee08349f9fc
arch-excludes@lists.fedoraproject.org