[packages/mimalloc] unconditionally require libatomic-devel for consistent dependencies; rel 3

atler atler at pld-linux.org
Wed Oct 19 11:29:42 CEST 2022


commit 159c8df150320e4aee1e85f13e20a39b06a7f278
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Oct 19 11:28:49 2022 +0200

    unconditionally require libatomic-devel for consistent dependencies; rel 3
    
    see https://github.com/microsoft/mimalloc/issues/634

 mimalloc.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mimalloc.spec b/mimalloc.spec
index ed2e4c8..5263d2a 100644
--- a/mimalloc.spec
+++ b/mimalloc.spec
@@ -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.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mimalloc.git/commitdiff/159c8df150320e4aee1e85f13e20a39b06a7f278



More information about the pld-cvs-commit mailing list