The package rpms/rust-json5.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-json5.git/commit/?id=7ccb14f7c6....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 7ccb14f7c6a0fcff76cba733082a4a90edbbd41f Author: Peter Robinson pbrobinson@gmail.com Date: Sun Jul 17 17:33:12 2022 +0100
initial import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c326c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/json5-*.crate diff --git a/rust-json5.spec b/rust-json5.spec new file mode 100644 index 0000000..38782ba --- /dev/null +++ b/rust-json5.spec @@ -0,0 +1,71 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate json5 + +Name: rust-%{crate} +Version: 0.4.1 +Release: %autorelease +Summary: Rust JSON5 serializer and deserializer which speaks Serde + +# Upstream license specification: ISC +License: ISC +URL: https://crates.io/crates/json5 +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Rust JSON5 serializer and deserializer which speaks Serde.} + +%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}/LICENCE +%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..796d904 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (json5-0.4.1.crate) = e74e7d41c5d9e699e3e88c0f248818b56d9126668b3dc44d881eb2de2f80f0aae6141dbf78077b0be20844376336b726657fa237f89c82bfd1d8b5dc236d2f97
arch-excludes@lists.fedoraproject.org