Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ea235f232 | ||
|
a632bb9a82 |
|||
|
e03376d1bf |
|||
|
|
b42880160e |
4 changed files with 25 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,3 +6,5 @@
|
|||
/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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.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.2.4
|
||||
Provides: bundled(mimalloc) = 3.1.5
|
||||
Provides: bundled(mimalloc) = 2.3.2
|
||||
Provides: buncled(mimalloc) = 3.3.2
|
||||
|
||||
%global _description %{expand:
|
||||
Sys crate wrapping the mimalloc allocator.}
|
||||
|
|
@ -162,16 +162,28 @@ 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
|
||||
|
||||
%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
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (libmimalloc-sys-0.1.44.crate) = 18de89a1084ed2da37f9ea6357289e40fe95d86e8de2ee4567bba5453c2f622a116473e2baffeb086cdf814a4b7b12f6e05563992b0b88cf939abcc5a2584fc2
|
||||
SHA512 (libmimalloc-sys-0.1.49.crate) = cffbf1e23a417ea14924678d67bfa6f1e982029fa133d01d50b9e6c7bc5e6b31fdb5aa94f14cdef3054938e5200ca62356e2fbfcff31bab056ebaa5206a4bdf6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue