Skip to content

Commit

Permalink
unconditionally require libatomic-devel for consistent dependencies; …
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Oct 19, 2022
1 parent 0f6d005 commit 159c8df
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mimalloc.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# TODO
# - drop dependency on libatomic from archs that don't require it
# https://github.com/microsoft/mimalloc/issues/634

Summary: Compact general purpose allocator with excellent performance
Name: mimalloc
Version: 2.0.6
Release: 2
Release: 3
License: MIT
Group: Development/Libraries
Source0: https://github.com/microsoft/mimalloc/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 064c69f146ba05d1e593dc8c5c0944a6
Patch0: %{name}-build_type.patch
URL: https://github.com/microsoft/mimalloc
BuildRequires: cmake >= 3.0
%ifarch %{armv6}
BuildRequires: libatomic-devel
%endif
BuildRequires: rpmbuild(macros) >= 2.007
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

Expand Down Expand Up @@ -67,6 +69,7 @@ Notable aspects of the design include:
Summary: Header files for the mimalloc library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libatomic-devel

%description devel
Header files for mimalloc library.
Expand Down

0 comments on commit 159c8df

Please sign in to comment.