Compare commits

..

No commits in common. "rawhide" and "epel10.2" have entirely different histories.

4 changed files with 10 additions and 25 deletions

2
.gitignore vendored
View file

@ -6,5 +6,3 @@
/libmimalloc-sys-0.1.39.crate
/libmimalloc-sys-0.1.42.crate
/libmimalloc-sys-0.1.44.crate
/libmimalloc-sys-0.1.47.crate
/libmimalloc-sys-0.1.49.crate

View file

@ -1,5 +1,4 @@
#!/bin/sh
for v in 2 3; do
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))
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 28
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate libmimalloc-sys
Name: rust-libmimalloc-sys
Version: 0.1.49
Version: 0.1.44
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.3.2
Provides: buncled(mimalloc) = 3.3.2
Provides: bundled(mimalloc) = 2.2.4
Provides: bundled(mimalloc) = 3.1.5
%global _description %{expand:
Sys crate wrapping the mimalloc allocator.}
@ -162,28 +162,16 @@ use the "secure" feature of the "%{crate}" crate.
%files -n %{name}+secure-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+v2-devel
%package -n %{name}+v3-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+v2-devel %{_description}
%description -n %{name}+v3-devel %{_description}
This package contains library source intended for building other packages which
use the "v2" feature of the "%{crate}" crate.
use the "v3" 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
%files -n %{name}+v3-devel
%ghost %{crate_instdir}/Cargo.toml
%prep

View file

@ -1 +1 @@
SHA512 (libmimalloc-sys-0.1.49.crate) = cffbf1e23a417ea14924678d67bfa6f1e982029fa133d01d50b9e6c7bc5e6b31fdb5aa94f14cdef3054938e5200ca62356e2fbfcff31bab056ebaa5206a4bdf6
SHA512 (libmimalloc-sys-0.1.44.crate) = 18de89a1084ed2da37f9ea6357289e40fe95d86e8de2ee4567bba5453c2f622a116473e2baffeb086cdf814a4b7b12f6e05563992b0b88cf939abcc5a2584fc2