The package rpms/rust-triforce-lv2.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-triforce-lv2.git/commit/?id=7d8....
Change: +ExcludeArch: ppc64le s390x
Thanks.
Full change: ============
commit a72284062d51bb8c74b0c600a57e755834c1f76f Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sat Feb 1 10:45:51 2025 +0100
Rename binary package for consistency
diff --git a/rust-triforce-lv2.spec b/rust-triforce-lv2.spec index e14e1c0..dd563d5 100644 --- a/rust-triforce-lv2.spec +++ b/rust-triforce-lv2.spec @@ -24,7 +24,7 @@ arrays.}
%description %{_description}
-%package -n %{crate} +%package -n lv2-triforce Summary: %{summary} # Apache-2.0 # GPL-2.0-or-later @@ -34,10 +34,14 @@ Summary: %{summary} License: Apache-2.0 AND GPL-2.0-or-later AND MIT AND (MIT OR Apache-2.0) AND (Zlib OR Apache-2.0 OR MIT) # LICENSE.dependencies contains a full license breakdown Requires: lv2 +# Drop after f42 is EOL +Provides: %{crate} = %{version}-%{release} +Provides: %{crate}%{?_isa} = %{version}-%{release} +Obsoletes: %{crate} < 0.1.1-2
-%description -n %{crate} %{_description} +%description -n lv2-triforce %{_description}
-%files -n %{crate} +%files -n lv2-triforce %license LICENCE.txt %license LICENSE.dependencies %doc README.md diff --git a/rust2rpm.toml b/rust2rpm.toml index fb18c0e..ddc4c6f 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,9 +1,11 @@ [package] +bin-package-name = "lv2-triforce" extra-files = [ "%{_libdir}/lv2/triforce.lv2/manifest.ttl", "%{_libdir}/lv2/triforce.lv2/triforce.ttl", "%{_libdir}/lv2/triforce.lv2/triforce.so", ] +suppress-cdylib-install-fixme = true
[requires] build = ["make"]
commit 7d8cde895fe0cdf7526a7fee763b51744aa96a78 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Mon Jan 27 17:08:30 2025 +0100
Initial import; Fixes: RHBZ#2342192
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e0ff1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/triforce-lv2-0.1.1.crate diff --git a/rust-triforce-lv2.spec b/rust-triforce-lv2.spec new file mode 100644 index 0000000..e14e1c0 --- /dev/null +++ b/rust-triforce-lv2.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 27 +%bcond check 1 + +%global crate triforce-lv2 + +Name: rust-triforce-lv2 +Version: 0.1.1 +Release: %autorelease +Summary: Minimum variance distortionless response beamformer for Apple mic arrays + +License: GPL-2.0-or-later +URL: https://crates.io/crates/triforce-lv2 +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: make + +# Not supported by rust-lv2 +ExcludeArch: ppc64le s390x + +%global _description %{expand: +Minimum variance distortionless response beamformer for Apple mic +arrays.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +# Apache-2.0 +# GPL-2.0-or-later +# MIT +# MIT OR Apache-2.0 +# Zlib OR Apache-2.0 OR MIT +License: Apache-2.0 AND GPL-2.0-or-later AND MIT AND (MIT OR Apache-2.0) AND (Zlib OR Apache-2.0 OR MIT) +# LICENSE.dependencies contains a full license breakdown +Requires: lv2 + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENCE.txt +%license LICENSE.dependencies +%doc README.md +%{_libdir}/lv2/triforce.lv2/manifest.ttl +%{_libdir}/lv2/triforce.lv2/triforce.ttl +%{_libdir}/lv2/triforce.lv2/triforce.so + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies + +%install +%make_install LIBDIR=%{_libdir} + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..fb18c0e --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,15 @@ +[package] +extra-files = [ + "%{_libdir}/lv2/triforce.lv2/manifest.ttl", + "%{_libdir}/lv2/triforce.lv2/triforce.ttl", + "%{_libdir}/lv2/triforce.lv2/triforce.so", +] + +[requires] +build = ["make"] +bin = ["lv2"] + +[scripts] +install.post = [ + "%make_install LIBDIR=%{_libdir}" +] diff --git a/sources b/sources new file mode 100644 index 0000000..6304e60 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (triforce-lv2-0.1.1.crate) = ed6b2c87656e0f9301642679712d3b83bfb80975d2d00a069634885dbc6caf7466c1e2ad4b176cc327fd492ac2ab4cd0d3fe1d18e5e2f9d08365902028b028e7
arch-excludes@lists.fedoraproject.org