The package rpms/rust-language-tags0.2.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-language-tags0.2.git/commit/....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 563480e8735936574190ac4de4b117fba0a3cbc8
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 24 22:05:06 2022 +0200
Initial import (language-tags 0.2 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..83fe19b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/language-tags-0.2.2.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index ecc173c..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-language-tags0.2
-
-The rust-language-tags0.2 package
diff --git a/language-tags-fix-metadata.diff b/language-tags-fix-metadata.diff
new file mode 100644
index 0000000..3b09285
--- /dev/null
+++ b/language-tags-fix-metadata.diff
@@ -0,0 +1,17 @@
+--- language-tags-0.2.2/Cargo.toml 2016-02-12T18:23:51+00:00
++++ language-tags-0.2.2/Cargo.toml 2022-05-21T19:09:07.365589+00:00
+@@ -9,14 +9,3 @@
+ repository = "https://github.com/pyfisch/rust-language-tags"
+ documentation = "http://pyfisch.github.io/rust-language-tags/language_tags/"
+ keywords = ["language", "internationalization",
"translation", "http", "html"]
+-
+-[dependencies.heapsize]
+-version = ">=0.2.2, <0.4"
+-optional = true
+-
+-[dependencies.heapsize_plugin]
+-version = "0.1.2"
+-optional = true
+-
+-[features]
+-heap_size = ["heapsize", "heapsize_plugin"]
diff --git a/rust-language-tags0.2.spec b/rust-language-tags0.2.spec
new file mode 100644
index 0000000..506d29c
--- /dev/null
+++ b/rust-language-tags0.2.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate language-tags
+
+Name: rust-%{crate}0.2
+Version: 0.2.2
+Release: %autorelease
+Summary: Language tags for Rust
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/language-tags
+Source: %{crates_source}
+# Initial patched metadata
+# * drop unused optional heapsize feature
+Patch0: language-tags-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Language tags for Rust.}
+
+%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
+%{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..0b9528a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (language-tags-0.2.2.crate) =
54a6c7d1bc985860c194c842d7b5ec731d0e06f9c77ead8cb0156bd34addd957d0bbf8b6a9dfc6bef5ea31e39f84ab447d1ccec3c178a6c18c4a222a51e1abc6