diff --git a/libatomic_ops-7.6.10.tar.gz b/libatomic_ops-7.6.10.tar.gz deleted file mode 100644 index 3f082fb..0000000 --- a/libatomic_ops-7.6.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af -size 503734 diff --git a/libatomic_ops-7.6.12.tar.gz b/libatomic_ops-7.6.12.tar.gz new file mode 100644 index 0000000..8bd197f --- /dev/null +++ b/libatomic_ops-7.6.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e +size 506313 diff --git a/libatomic_ops.changes b/libatomic_ops.changes index b8253f0..e83b2cf 100644 --- a/libatomic_ops.changes +++ b/libatomic_ops.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Sep 13 10:45:00 UTC 2021 - Jan Engelhardt + +- Update to release 7.6.12 + * Declare argument of AO_load_next with const in + atomic_ops_stack. + * Fix gcc/sunc x86 AO_compare_double_and_swap_double + missing side effect. + * Fix link fail caused by missing GCC char/short atomic + primitives on riscv64. + * Turn off compare_double_and_swap_double_full PIC hack for + GCC 5+ (x86). + * Use GCC atomic intrinsics for s390x (clang 8.0+ and gcc 5.4+). + ------------------------------------------------------------------- Fri Aug 2 07:04:12 UTC 2019 - Martin Liška diff --git a/libatomic_ops.spec b/libatomic_ops.spec index 1f4b642..1a00b22 100644 --- a/libatomic_ops.spec +++ b/libatomic_ops.spec @@ -1,7 +1,7 @@ # # spec file for package libatomic_ops # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,13 @@ Name: libatomic_ops -Version: 7.6.10 +Version: 7.6.12 Release: 0 Summary: A portable library for atomic memory operations License: GPL-2.0-or-later AND MIT Group: Development/Languages/C and C++ -Url: https://github.com/ivmai/libatomic_ops - -#Git-Clone: git://github.com/ivmai/libatomic_ops -Source: http://www.ivmaisoft.com/_bin/atomic_ops/%name-%version.tar.gz +URL: https://github.com/ivmai/libatomic_ops +Source: https://github.com/ivmai/libatomic_ops/releases/download/v%version/%name-%version.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -52,26 +50,25 @@ considers memory barrier semantics, and allows the construction of code that involves minimum overhead across a variety of architectures. %prep -%setup -q +%autosetup %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%global _lto_cflags %_lto_cflags -ffat-lto-objects autoreconf -fiv %configure --docdir="%_docdir/%name" -make %{?_smp_mflags} +%make_build %install %make_install -rm -f "%buildroot/%_libdir"/*.la -cp -a ChangeLog "%buildroot/%_docdir/%name/" +rm -fv "%buildroot/%_libdir"/*.la +cp -av ChangeLog "%buildroot/%_docdir/%name/" %check %if !0%{?qemu_user_space_build:1} -make check %{?_smp_mflags} +%make_build check %endif %files devel -%defattr(-,root,root) %_libdir/libatomic_ops*.a %_includedir/atomic_ops/ %_includedir/atomic_ops*.h