The package rpms/rust-dashmap3.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-dashmap3.git/commit/?id=d883....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d883312a8eb7dc744a5b8a5e54162f017a9f09c1
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat May 1 19:09:02 2021 +0200
initial import (dashmap 3 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ff60972
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/dashmap-3.11.10.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index d0a8a58..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-dashmap3
-
-The rust-dashmap3 package
diff --git a/dashmap-fix-metadata.diff b/dashmap-fix-metadata.diff
new file mode 100644
index 0000000..d263ef2
--- /dev/null
+++ b/dashmap-fix-metadata.diff
@@ -0,0 +1,18 @@
+--- dashmap-3.11.10/Cargo.toml 2020-08-04T17:52:42+00:00
++++ dashmap-3.11.10/Cargo.toml 2020-09-28T22:40:22.903103+00:00
+@@ -26,13 +26,13 @@
+ [package.metadata.docs.rs]
+ features = ["raw-api", "serde"]
+ [dependencies.ahash]
+-version = "0.3.8"
++version = "0.4.4"
+
+ [dependencies.cfg-if]
+ version = "0.1.10"
+
+ [dependencies.hashbrown]
+-version = "0.8.0"
++version = "0.9.0"
+ optional = true
+
+ [dependencies.num_cpus]
diff --git a/rust-dashmap3.spec b/rust-dashmap3.spec
new file mode 100644
index 0000000..dfca4b7
--- /dev/null
+++ b/rust-dashmap3.spec
@@ -0,0 +1,128 @@
+# Generated by rust2rpm 13
+# * chashmap, cht and contrie are not packaged
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate dashmap
+
+Name: rust-%{crate}3
+Version: 3.11.10
+Release: 1%{?dist}
+Summary: Blazing fast concurrent HashMap for Rust
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/dashmap
+Source: %{crates_source}
+# Initial patched metadata
+# * Bump ahash from 0.3.8 to 0.4.4 (matching hashbrown 0.9.1)
+# * Bump hashbrown from 0.8.0 to 0.9.0
+Patch0: dashmap-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Blazing fast concurrent HashMap 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 "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%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
+
+%package -n %{name}+hashbrown-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+hashbrown-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "hashbrown" feature of "%{crate}" crate.
+
+%files -n %{name}+hashbrown-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+no_std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+no_std-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "no_std" feature of "%{crate}" crate.
+
+%files -n %{name}+no_std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+raw-api-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+raw-api-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "raw-api" feature of "%{crate}" crate.
+
+%files -n %{name}+raw-api-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
+* Tue Apr 20 2021 Fabio Valentini <decathorpe(a)gmail.com> - 3.11.10-1
+- Initial compat package for dashmap 3
diff --git a/sources b/sources
new file mode 100644
index 0000000..78c7a21
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (dashmap-3.11.10.crate) =
c2f6c2e3b8cbf6177fa4e712241730604f9d3c56caac31060162821ecf60f94e4f4a2c84ad7689dc2b36c8ede8bf2bf0207e7f28e975f5c9cc62181c61520104