The package rpms/rust-clang-ast.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-clang-ast.git/commit/?id=b41....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b41e0b880fde8e59018daa56dd27a7f96993f0de
Author: Jan Staněk <jstanek(a)redhat.com>
Date: Wed Jun 23 14:39:49 2021 +0200
Initial package
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9602279
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/clang-ast-0.1.6.crate
diff --git a/rust-clang-ast.spec b/rust-clang-ast.spec
new file mode 100644
index 0000000..3bd47b6
--- /dev/null
+++ b/rust-clang-ast.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 17
+# check has missing dependencies: clang-ast-test-suite
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate clang-ast
+
+Name: rust-%{crate}
+Version: 0.1.6
+Release: 1%{?dist}
+Summary: Data structures for processing Clang's -ast-dump=json format
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/clang-ast
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Data structures for processing Clang's -ast-dump=json format.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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 "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
+* Mon Jun 21 2021 Jan Staněk <jstanek(a)redhat.com> - 0.1.6-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..9b744a7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (clang-ast-0.1.6.crate) =
b7fa8e1a283082319bf14b34e0882dc1a38b5b3acd92ba6cc96edfab5e317564bba6dd765c582cf8027d3862604331c9046fdbd6d26f423b3f6fb334702105aa