]> git.pld-linux.org Git - packages/mimalloc.git/commitdiff
unconditionally require libatomic-devel for consistent dependencies; rel 3 auto/th/mimalloc-2.0.6-3
authorJan Palus <atler@pld-linux.org>
Wed, 19 Oct 2022 09:28:49 +0000 (11:28 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 19 Oct 2022 09:28:49 +0000 (11:28 +0200)
see https://github.com/microsoft/mimalloc/issues/634

mimalloc.spec

index ed2e4c8871fb896fac5f0d1b5e56e9cb67770e0b..5263d2afed62e5f3a014b7e160d1c41b70fbab87 100644 (file)
@@ -1,7 +1,11 @@
+# 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
@@ -9,9 +13,7 @@ Source0:       https://github.com/microsoft/mimalloc/archive/v%{version}/%{name}-%{ver
 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)
 
@@ -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.
This page took 0.235688 seconds and 4 git commands to generate.