diff --git a/libatomic_ops-7.2alpha6.tar.gz b/libatomic_ops-7.2alpha6.tar.gz deleted file mode 100644 index b7a9476..0000000 --- a/libatomic_ops-7.2alpha6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61b5ca426f0f7b135bf18c2014a398b9417f23cdaf075aac96edf0328551a043 -size 226437 diff --git a/libatomic_ops-7.2d.tar.gz b/libatomic_ops-7.2d.tar.gz new file mode 100644 index 0000000..03e7a2a --- /dev/null +++ b/libatomic_ops-7.2d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:254c34b5a6aa7c1b9549f81b0891ffb776e9fb87297d01f6682abad98ec42487 +size 230358 diff --git a/libatomic_ops.changes b/libatomic_ops.changes index 0aee0ff..2a13c8b 100644 --- a/libatomic_ops.changes +++ b/libatomic_ops.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun May 26 20:05:34 UTC 2013 - jengelh@inai.de + +- Update to upstream release 7.2d +- pkgconfig support, testsuite was fixed and no longer + loops endlessy/crashes + ------------------------------------------------------------------- Wed May 23 12:45:39 UTC 2012 - jengelh@inai.de diff --git a/libatomic_ops.spec b/libatomic_ops.spec index 8efce82..5a02f05 100644 --- a/libatomic_ops.spec +++ b/libatomic_ops.spec @@ -16,18 +16,22 @@ # Name: libatomic_ops Summary: A portable library for atomic memory operations -License: GPL-2.0+ ; MIT +License: GPL-2.0+ and MIT Group: Development/Languages/C and C++ -Version: 7.2alpha6 +Version: 7.2d Release: 0 Url: http://www.hpl.hp.com/research/linux/atomic_ops/ -Source: http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%{version}.tar.gz + +Source: http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%version.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf automake +BuildRequires: autoconf automake, pkgconfig %description -This package provides semi-portable access to hardware provided atomic -memory operations. +Provides implementations for atomic memory update operations on a +number of architectures. This allows direct use of these in reasonably +portable code. Unlike earlier similar packages, this one explicitly +considers memory barrier semantics, and allows the construction of code +that involves minimum overhead across a variety of architectures. %package devel Summary: A portable library for atomic memory operations @@ -36,11 +40,14 @@ Obsoletes: libatomic-ops-devel < %version-%release Provides: libatomic-ops-devel = %version-%release %description devel -This package provides semi-portable access to hardware provided atomic -memory operations. +Provides implementations for atomic memory update operations on a +number of architectures. This allows direct use of these in reasonably +portable code. Unlike earlier similar packages, this one explicitly +considers memory barrier semantics, and allows the construction of code +that involves minimum overhead across a variety of architectures. %prep -%setup -q +%setup -qn %name-7.2 %build autoreconf -fi @@ -48,9 +55,9 @@ autoreconf -fi make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +make DESTDIR="%buildroot" install # remove unnecessary documents -rm -rf $RPM_BUILD_ROOT%{_datadir}/libatomic_ops +rm -Rf "%buildroot/%_datadir/libatomic_ops" %check %if !0%{?qemu_user_space_build:1} @@ -61,7 +68,9 @@ make check %defattr(-, root, root) %doc README COPYING AUTHORS ChangeLog %doc doc/*.txt -%{_libdir}/lib* -%{_includedir}/* +%_libdir/libatomic_ops*.a +%_includedir/atomic_ops/ +%_includedir/atomic_ops*.h +%_libdir/pkgconfig/atomic_ops.pc %changelog