From b42880160ea2c6e396e326c0b8cd7ecf5e01b194 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 14:38:23 +0000 Subject: [PATCH 1/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From e03376d1bfac85a272c72223921a26f15e2274e0 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Tue, 19 May 2026 16:44:48 +0100 Subject: [PATCH 2/4] Update to version 0.1.47; Resolves RHBZ#2459564 Updated the bundled version script with Claude assist Assisted-by: Claude Code:claude-opus-4-7 Signed-off-by: Michel Lind --- .gitignore | 1 + get-bundled-mimalloc-ver.sh | 3 ++- rust-libmimalloc-sys.spec | 16 ++++++++-------- sources | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 1a3a04c..79ce9bb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /libmimalloc-sys-0.1.39.crate /libmimalloc-sys-0.1.42.crate /libmimalloc-sys-0.1.44.crate +/libmimalloc-sys-0.1.47.crate diff --git a/get-bundled-mimalloc-ver.sh b/get-bundled-mimalloc-ver.sh index ba2b568..3350ba9 100755 --- a/get-bundled-mimalloc-ver.sh +++ b/get-bundled-mimalloc-ver.sh @@ -1,4 +1,5 @@ #!/bin/sh for v in 2 3; do - grep "define MI_MALLOC_VERSION" libmimalloc-sys-*/c_src/mimalloc/v$v/include/mimalloc.h | cut -d' ' -f3 | fold -w1 | paste -sd. + ver=$(grep "define MI_MALLOC_VERSION" libmimalloc-sys-*/c_src/mimalloc/v$v/include/mimalloc.h | cut -d' ' -f3) + printf '%d.%d.%d\n' $((ver / 10000)) $(((ver / 100) % 100)) $((ver % 100)) done diff --git a/rust-libmimalloc-sys.spec b/rust-libmimalloc-sys.spec index 82cc4f9..7522820 100644 --- a/rust-libmimalloc-sys.spec +++ b/rust-libmimalloc-sys.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 27 +# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate libmimalloc-sys Name: rust-libmimalloc-sys -Version: 0.1.44 +Version: 0.1.47 Release: %autorelease Summary: Sys crate wrapping the mimalloc allocator @@ -19,8 +19,8 @@ BuildRequires: cargo-rpm-macros >= 24 # or ask mimalloc dev to switch to mimalloc-sys # https://github.com/purpleprotocol/mimalloc_rust/issues/73 # use get-bundled-mimalloc-ver.sh after unpacking the crate -Provides: bundled(mimalloc) = 2.2.4 -Provides: bundled(mimalloc) = 3.1.5 +Provides: bundled(mimalloc) = 2.0.3.0.1 +Provides: buncled(mimalloc) = 3.0.3.0.1 %global _description %{expand: Sys crate wrapping the mimalloc allocator.} @@ -162,16 +162,16 @@ use the "secure" feature of the "%{crate}" crate. %files -n %{name}+secure-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+v3-devel +%package -n %{name}+v2-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+v3-devel %{_description} +%description -n %{name}+v2-devel %{_description} This package contains library source intended for building other packages which -use the "v3" feature of the "%{crate}" crate. +use the "v2" feature of the "%{crate}" crate. -%files -n %{name}+v3-devel +%files -n %{name}+v2-devel %ghost %{crate_instdir}/Cargo.toml %prep diff --git a/sources b/sources index c39a392..a59c420 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libmimalloc-sys-0.1.44.crate) = 18de89a1084ed2da37f9ea6357289e40fe95d86e8de2ee4567bba5453c2f622a116473e2baffeb086cdf814a4b7b12f6e05563992b0b88cf939abcc5a2584fc2 +SHA512 (libmimalloc-sys-0.1.47.crate) = f6dd83e31e6954215a423f5e4b93d5866d8f016bd6857e3cc1fea6e135b9d6edef7f4c7f994d7705730d5503ca9292bc9f551e6f97da9cb93f6c63bc0f933198 From a632bb9a82cf9e40d8444e24a201196bd9ab25e7 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Mon, 6 Jul 2026 10:51:16 +0100 Subject: [PATCH 3/4] Update to version 0.1.49; Resolves RHBZ#2480731 Signed-off-by: Michel Lind --- .gitignore | 1 + rust-libmimalloc-sys.spec | 18 +++++++++++++++--- sources | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 79ce9bb..ebb94e0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /libmimalloc-sys-0.1.42.crate /libmimalloc-sys-0.1.44.crate /libmimalloc-sys-0.1.47.crate +/libmimalloc-sys-0.1.49.crate diff --git a/rust-libmimalloc-sys.spec b/rust-libmimalloc-sys.spec index 7522820..05cbfce 100644 --- a/rust-libmimalloc-sys.spec +++ b/rust-libmimalloc-sys.spec @@ -5,7 +5,7 @@ %global crate libmimalloc-sys Name: rust-libmimalloc-sys -Version: 0.1.47 +Version: 0.1.49 Release: %autorelease Summary: Sys crate wrapping the mimalloc allocator @@ -19,8 +19,8 @@ BuildRequires: cargo-rpm-macros >= 24 # or ask mimalloc dev to switch to mimalloc-sys # https://github.com/purpleprotocol/mimalloc_rust/issues/73 # use get-bundled-mimalloc-ver.sh after unpacking the crate -Provides: bundled(mimalloc) = 2.0.3.0.1 -Provides: buncled(mimalloc) = 3.0.3.0.1 +Provides: bundled(mimalloc) = 2.3.2 +Provides: buncled(mimalloc) = 3.3.2 %global _description %{expand: Sys crate wrapping the mimalloc allocator.} @@ -174,6 +174,18 @@ use the "v2" feature of the "%{crate}" crate. %files -n %{name}+v2-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+win_direct_tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+win_direct_tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "win_direct_tls" feature of the "%{crate}" crate. + +%files -n %{name}+win_direct_tls-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/sources b/sources index a59c420..0aaff51 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libmimalloc-sys-0.1.47.crate) = f6dd83e31e6954215a423f5e4b93d5866d8f016bd6857e3cc1fea6e135b9d6edef7f4c7f994d7705730d5503ca9292bc9f551e6f97da9cb93f6c63bc0f933198 +SHA512 (libmimalloc-sys-0.1.49.crate) = cffbf1e23a417ea14924678d67bfa6f1e982029fa133d01d50b9e6c7bc5e6b31fdb5aa94f14cdef3054938e5200ca62356e2fbfcff31bab056ebaa5206a4bdf6 From 1ea235f232679459fcf7977ced9139636a6a7324 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 03:05:47 +0000 Subject: [PATCH 4/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild