Compare commits

..

7 commits

Author SHA1 Message Date
Michel Lind
c53d62c326
Update to version 0.1.44; Resolves: RHBZ#2391006
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-11-10 22:45:34 +00:00
Fedora Release Engineering
6387123590 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 15:09:50 +00:00
Michel Lind
c8b93b1d48
Update to 0.1.42; Fixes: RHBZ#2353251
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-04-24 13:53:40 -05:00
Fedora Release Engineering
5ad9cc62a0 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 04:44:13 +00:00
Michel Lind
1a6f8943b0
Update to version 0.1.39; Fixes: RHBZ#2293834
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-08-16 12:15:47 -04:00
Fedora Release Engineering
247318614e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 23:58:52 +00:00
Michel Lind
5acfab598e
Update to 0.1.38 (rhbz#2276528)
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-05-30 23:05:23 -05:00
4 changed files with 54 additions and 6 deletions

4
.gitignore vendored
View file

@ -2,3 +2,7 @@
/libmimalloc-sys-0.1.30.crate
/libmimalloc-sys-0.1.33.crate
/libmimalloc-sys-0.1.35.crate
/libmimalloc-sys-0.1.38.crate
/libmimalloc-sys-0.1.39.crate
/libmimalloc-sys-0.1.42.crate
/libmimalloc-sys-0.1.44.crate

4
get-bundled-mimalloc-ver.sh Executable file
View file

@ -0,0 +1,4 @@
#!/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.
done

View file

@ -1,11 +1,11 @@
# Generated by rust2rpm 25
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate libmimalloc-sys
Name: rust-libmimalloc-sys
Version: 0.1.35
Version: 0.1.44
Release: %autorelease
Summary: Sys crate wrapping the mimalloc allocator
@ -17,7 +17,10 @@ BuildRequires: cargo-rpm-macros >= 24
# TODO: get this to build against system mimalloc
# or ask mimalloc dev to switch to mimalloc-sys
Provides: bundled(mimalloc) = 2.1.2
# 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
%global _description %{expand:
Sys crate wrapping the mimalloc allocator.}
@ -35,7 +38,8 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE.txt
%license %{crate_instdir}/c_src/mimalloc/LICENSE
%license %{crate_instdir}/c_src/mimalloc/v2/LICENSE
%license %{crate_instdir}/c_src/mimalloc/v3/LICENSE
%{crate_instdir}/
%package -n %{name}+default-devel
@ -50,6 +54,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+arena-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+arena-devel %{_description}
This package contains library source intended for building other packages which
use the "arena" feature of the "%{crate}" crate.
%files -n %{name}+arena-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cty-devel
Summary: %{summary}
BuildArch: noarch
@ -110,6 +126,18 @@ use the "local_dynamic_tls" feature of the "%{crate}" crate.
%files -n %{name}+local_dynamic_tls-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_thp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no_thp-devel %{_description}
This package contains library source intended for building other packages which
use the "no_thp" feature of the "%{crate}" crate.
%files -n %{name}+no_thp-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+override-devel
Summary: %{summary}
BuildArch: noarch
@ -134,6 +162,18 @@ use the "secure" feature of the "%{crate}" crate.
%files -n %{name}+secure-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+v3-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+v3-devel %{_description}
This package contains library source intended for building other packages which
use the "v3" feature of the "%{crate}" crate.
%files -n %{name}+v3-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep

View file

@ -1 +1 @@
SHA512 (libmimalloc-sys-0.1.35.crate) = 7f9ef551d23d7e22073cf9d8593103a4ca17cf82b65b2bc1404dbfc2cec46c4f305ad9dfda9ca1c61e7ff3a617196c6798f505d62c90552dd25b4ba0c05e5847
SHA512 (libmimalloc-sys-0.1.44.crate) = 18de89a1084ed2da37f9ea6357289e40fe95d86e8de2ee4567bba5453c2f622a116473e2baffeb086cdf814a4b7b12f6e05563992b0b88cf939abcc5a2584fc2