+# 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
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)
Summary: Header files for the mimalloc library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: libatomic-devel
%description devel
Header files for mimalloc library.