diff --git a/.gitignore b/.gitignore index 1015499..1bfaa9a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /hashbrown-0.8.1.crate /hashbrown-0.8.2.crate /hashbrown-0.9.1.crate +/hashbrown-0.11.2.crate diff --git a/hashbrown-fix-metadata.diff b/hashbrown-fix-metadata.diff index cb97b55..06353f5 100644 --- a/hashbrown-fix-metadata.diff +++ b/hashbrown-fix-metadata.diff @@ -1,6 +1,6 @@ ---- hashbrown-0.9.1/Cargo.toml 2020-09-28T19:15:21+00:00 -+++ hashbrown-0.9.1/Cargo.toml 2020-11-09T14:18:14.491392+00:00 -@@ -29,20 +29,6 @@ +--- hashbrown-0.11.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ hashbrown-0.11.2/Cargo.toml 2021-09-30T11:07:56.435200+00:00 +@@ -29,23 +29,9 @@ optional = true default-features = false @@ -8,6 +8,10 @@ -version = "1.0.0" -optional = true -package = "rustc-std-workspace-alloc" +- + [dependencies.bumpalo] + version = "3.5.0" + optional = true - -[dependencies.compiler_builtins] -version = "0.1.2" @@ -17,28 +21,10 @@ -version = "1.0.0" -optional = true -package = "rustc-std-workspace-core" -- - [dependencies.rayon] - version = "1.0" - optional = true -@@ -51,6 +37,7 @@ - version = "1.0.25" - optional = true - default-features = false -+ - [dev-dependencies.doc-comment] - version = "0.3.1" - -@@ -65,7 +52,7 @@ - version = "1.0" - - [dev-dependencies.rustc-hash] --version = "=1.0" -+version = "1.0" - [dev-dependencies.serde_test] + [dependencies.rayon] version = "1.0" -@@ -74,7 +61,4 @@ +@@ -78,7 +64,4 @@ ahash-compile-time-rng = ["ahash/compile-time-rng"] default = ["ahash", "inline-more"] inline-more = [] diff --git a/rust-hashbrown.spec b/rust-hashbrown.spec index fee6ef2..a812844 100644 --- a/rust-hashbrown.spec +++ b/rust-hashbrown.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate hashbrown Name: rust-%{crate} -Version: 0.9.1 +Version: 0.11.2 Release: %autorelease Summary: Rust port of Google's SwissTable hash map @@ -14,8 +14,8 @@ License: ASL 2.0 or MIT URL: https://crates.io/crates/hashbrown Source: %{crates_source} # Initial patched metadata -# * No locked dependencies -# * Drop dependencies on compiler internals +# * drop dependencies on compiler internals +# * drop nightly-only features Patch0: hashbrown-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -40,7 +40,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT +%license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -80,6 +80,18 @@ 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}+bumpalo-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bumpalo-devel %{_description} + +This package contains library source intended for building other packages +which use "bumpalo" feature of "%{crate}" crate. + +%files -n %{name}+bumpalo-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+inline-more-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index faeda71..eddf4be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hashbrown-0.9.1.crate) = dfa4742111f6fe757b7fa97f04c7b4a78ce9708c87e8e09ecf3c28f2566e48af9885fda380ed918cec37b5c696110fbdd30273aba6e7d2221c9e65f72af064fd +SHA512 (hashbrown-0.11.2.crate) = c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c