[packages/ccache] require libatomic on archs which don't support 64-bit atomics

atler atler at pld-linux.org
Sun Dec 31 13:10:44 CET 2023


commit 4997e70917cc6276895a715227b0dfff12497e68
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Dec 31 13:07:20 2023 +0100

    require libatomic on archs which don't support 64-bit atomics

 ccache.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ccache.spec b/ccache.spec
index 17cc53d..702b9c8 100644
--- a/ccache.spec
+++ b/ccache.spec
@@ -16,11 +16,11 @@ URL:		https://ccache.dev/
 BuildRequires:	asciidoc
 BuildRequires:	cmake >= 3.15
 %{?with_redis:BuildRequires:	hiredis-devel >= 0.13.3}
-%ifarch %{arm}
+%ifnarch %arch_with_atomics64
 BuildRequires:	libatomic-devel
 %endif
 BuildRequires:	libstdc++-devel >= 6:5
-BuildRequires:	rpmbuild(macros) >= 1.742
+BuildRequires:	rpmbuild(macros) >= 2.025
 BuildRequires:	ruby-asciidoctor
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ccache.git/commitdiff/eea19aeaf5152ed4e0a8383d1ed5eeab68b8c4f7



More information about the pld-cvs-commit mailing list