diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-04-04 14:17:36 -0700 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-04-04 14:17:36 -0700 |
| commit | a5467a9c7e4c672f007f8a55fe373b6258ed1012 (patch) | |
| tree | 95312dd0ce8bf33bb0db7568654f31845510466a /rust | |
| parent | 5a3e4c03a2458e2f35cd1fc6f156d6f8dc90d650 (diff) | |
| download | specs-a5467a9c7e4c672f007f8a55fe373b6258ed1012.tar.gz specs-a5467a9c7e4c672f007f8a55fe373b6258ed1012.tar.xz specs-a5467a9c7e4c672f007f8a55fe373b6258ed1012.zip | |
update libmimalloc-sys
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/libmimalloc-sys-rust2rpm.conf | 2 | ||||
| -rw-r--r-- | rust/rust-libmimalloc-sys.spec | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/rust/libmimalloc-sys-rust2rpm.conf b/rust/libmimalloc-sys-rust2rpm.conf index 568a385..8ddf86b 100644 --- a/rust/libmimalloc-sys-rust2rpm.conf +++ b/rust/libmimalloc-sys-rust2rpm.conf @@ -1,3 +1,5 @@ [DEFAULT] buildrequires = cmake(mimalloc) +lib.requires = + cmake(mimalloc) diff --git a/rust/rust-libmimalloc-sys.spec b/rust/rust-libmimalloc-sys.spec index 0b0b03b..915b344 100644 --- a/rust/rust-libmimalloc-sys.spec +++ b/rust/rust-libmimalloc-sys.spec @@ -1,5 +1,6 @@ # Generated by rust2rpm 21 -%bcond_without check +# tests not passing against system mimalloc (yet?) +%bcond_with check %global debug_package %{nil} %global crate libmimalloc-sys @@ -28,6 +29,7 @@ Sys crate wrapping the mimalloc allocator.} %package devel Summary: %{summary} BuildArch: noarch +Requires: cmake(mimalloc) %description devel %{_description} @@ -35,7 +37,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/c_src/mimalloc/LICENSE +%license LICENSE %{crate_instdir}/ %package -n %{name}+default-devel @@ -136,6 +138,9 @@ use the "secure" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p2 +# remove bundled mimalloc +mv c_src/mimalloc/LICENSE . +rm -rf c_src %cargo_prep %generate_buildrequires |
