The package rpms/rust-hashbrown0.9.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-hashbrown0.9.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 93eb54c7664a309fc47c566a318ffe9657fa370b
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Sep 30 13:06:22 2021 +0200
Initial import (hashbrown 0.9 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ad521b2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/hashbrown-0.9.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index f6a864b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hashbrown0.9
-
-The rust-hashbrown0.9 package
diff --git a/hashbrown-fix-metadata.diff b/hashbrown-fix-metadata.diff
new file mode 100644
index 0000000..147e76d
--- /dev/null
+++ b/hashbrown-fix-metadata.diff
@@ -0,0 +1,40 @@
+--- hashbrown-0.9.1/Cargo.toml 2020-09-28T19:15:21+00:00
++++ hashbrown-0.9.1/Cargo.toml 2021-09-30T11:03:26.666346+00:00
+@@ -29,20 +29,6 @@
+ optional = true
+ default-features = false
+
+-[dependencies.alloc]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-alloc"
+-
+-[dependencies.compiler_builtins]
+-version = "0.1.2"
+-optional = true
+-
+-[dependencies.core]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-core"
+-
+ [dependencies.rayon]
+ version = "1.0"
+ optional = true
+@@ -65,7 +51,7 @@
+ version = "1.0"
+
+ [dev-dependencies.rustc-hash]
+-version = "=1.0"
++version = "1.0"
+
+ [dev-dependencies.serde_test]
+ version = "1.0"
+@@ -74,7 +60,4 @@
+ ahash-compile-time-rng = ["ahash/compile-time-rng"]
+ default = ["ahash", "inline-more"]
+ inline-more = []
+-nightly = []
+ raw = []
+-rustc-dep-of-std = ["nightly", "core",
"compiler_builtins", "alloc", "rustc-internal-api"]
+-rustc-internal-api = []
diff --git a/rust-hashbrown0.9.spec b/rust-hashbrown0.9.spec
new file mode 100644
index 0000000..d68f1a8
--- /dev/null
+++ b/rust-hashbrown0.9.spec
@@ -0,0 +1,151 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate hashbrown
+
+Name: rust-%{crate}0.9
+Version: 0.9.1
+Release: %autorelease
+Summary: Rust port of Google's SwissTable hash map
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/hashbrown
+Source: %{crates_source}
+# Initial patched metadata
+# * drop dependencies on compiler internals
+# * drop nightly-only features
+# * relax rustc-hash dev-dependency
+Patch0: hashbrown-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Rust port of Google's SwissTable hash map.}
+
+%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-MIT LICENSE-APACHE
+%doc README.md CHANGELOG.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
+
+%package -n %{name}+ahash-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+ahash-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "ahash" feature of "%{crate}" crate.
+
+%files -n %{name}+ahash-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+ahash-compile-time-rng-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+ahash-compile-time-rng-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "ahash-compile-time-rng" feature of "%{crate}" crate.
+
+%files -n %{name}+ahash-compile-time-rng-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+inline-more-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+inline-more-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "inline-more" feature of "%{crate}" crate.
+
+%files -n %{name}+inline-more-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+raw-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+raw-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "raw" feature of "%{crate}" crate.
+
+%files -n %{name}+raw-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+rayon-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+rayon-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "rayon" feature of "%{crate}" crate.
+
+%files -n %{name}+rayon-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "serde" feature of "%{crate}" crate.
+
+%files -n %{name}+serde-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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..faeda71
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hashbrown-0.9.1.crate) =
dfa4742111f6fe757b7fa97f04c7b4a78ce9708c87e8e09ecf3c28f2566e48af9885fda380ed918cec37b5c696110fbdd30273aba6e7d2221c9e65f72af064fd