Accepting request 918781 from devel:libraries:c_c++

- Update to release 7.6.12

OBS-URL: https://build.opensuse.org/request/show/918781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libatomic_ops?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2021-09-20 21:32:20 +00:00 committed by Git OBS Bridge
commit a4ee4e9818
4 changed files with 27 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af
size 503734

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e
size 506313

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Sep 13 10:45:00 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- 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 <mliska@suse.cz>

View File

@ -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