The package rpms/rust-tree-sitter-config.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-tree-sitter-config.git/commi....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8de7c1e7ab3d79f093e8efcb97de11fe05cd8eec
Author: Aleksei Bavshin <alebastr(a)fedoraproject.org>
Date: Thu Feb 24 20:47:54 2022 -0800
Initial import (#2028898)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1e13678
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.crate
+*.src.rpm
+results_*/
diff --git a/LICENSE.upstream b/LICENSE.upstream
new file mode 100644
index 0000000..971b81f
--- /dev/null
+++ b/LICENSE.upstream
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2018 Max Brunsfeld
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/rust-tree-sitter-config.spec b/rust-tree-sitter-config.spec
new file mode 100644
index 0000000..eac79e4
--- /dev/null
+++ b/rust-tree-sitter-config.spec
@@ -0,0 +1,74 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate tree-sitter-config
+
+Name: rust-%{crate}
+Version: 0.19.0
+Release: %autorelease
+Summary: User configuration of tree-sitter's command line programs
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/tree-sitter-config
+Source: %{crates_source}
+# Upstream license file - tree-sitter/tree-sitter#1520
+Source1:
https://github.com/tree-sitter/tree-sitter/raw/v%{version}/LICENSE#/LICEN...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+User configuration of tree-sitter's command line programs.}
+
+%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 LICENSE
+%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
+cp %{SOURCE1} LICENSE
+
+%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..ed5122f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tree-sitter-config-0.19.0.crate) =
65e62b8f88955405ad3020167a1512fac0b4191c1fe5958fceafa394945ea45393f9737d61c85ba59cf0d2b5a4e45f27c2b479c9a399e83ed8381f81145bd540