Accepting request 234203 from devel:libraries:c_c++
- Version bump to 7.2e: * Various small fixes for 7.2 series. - Cleanup with spec-cleaner. OBS-URL: https://build.opensuse.org/request/show/234203 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libatomic_ops?expand=0&rev=5
This commit is contained in:
commit
30cf4ff3ae
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:254c34b5a6aa7c1b9549f81b0891ffb776e9fb87297d01f6682abad98ec42487
|
||||
size 230358
|
3
libatomic_ops-7.2e.tar.gz
Normal file
3
libatomic_ops-7.2e.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e524cdb5603a66e28127bbd767cc6840e9854b449f7b3bcf6585e0f1391e757b
|
||||
size 246464
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 15 14:53:31 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 7.2e:
|
||||
* Various small fixes for 7.2 series.
|
||||
- Cleanup with spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 18:39:57 UTC 2014 - dvaleev@suse.com
|
||||
|
||||
|
@ -17,68 +17,69 @@
|
||||
|
||||
|
||||
Name: libatomic_ops
|
||||
Version: 7.2e
|
||||
Release: 0
|
||||
Summary: A portable library for atomic memory operations
|
||||
License: GPL-2.0+ and MIT
|
||||
Group: Development/Languages/C and C++
|
||||
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/%{name}-%{version}.tar.gz
|
||||
Patch1: libatomic_ops-aarch64.patch
|
||||
Patch2: libatomic_ops-ppc64.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
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
|
||||
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
|
||||
Group: Development/Languages/C and C++
|
||||
Obsoletes: libatomic-ops-devel < %version-%release
|
||||
Provides: libatomic-ops-devel = %version-%release
|
||||
Obsoletes: libatomic-ops-devel < %{version}-%{release}
|
||||
Provides: libatomic-ops-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
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
|
||||
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 -qn %name-7.2
|
||||
%patch1 -p1
|
||||
%setup -q -n %{name}-7.2
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
autoreconf -fvi
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR="%buildroot" install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
# remove unnecessary documents
|
||||
rm -Rf "%buildroot/%_datadir/libatomic_ops"
|
||||
rm -Rf "%{buildroot}/%{_datadir}/libatomic_ops"
|
||||
# fix perms
|
||||
chmod 644 doc/*.txt README COPYING AUTHORS ChangeLog
|
||||
|
||||
%check
|
||||
%if !0%{?qemu_user_space_build:1}
|
||||
make check
|
||||
make check %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc README COPYING AUTHORS ChangeLog
|
||||
%doc doc/*.txt
|
||||
%_libdir/libatomic_ops*.a
|
||||
%_includedir/atomic_ops/
|
||||
%_includedir/atomic_ops*.h
|
||||
%_libdir/pkgconfig/atomic_ops.pc
|
||||
%{_libdir}/libatomic_ops*.a
|
||||
%{_includedir}/atomic_ops/
|
||||
%{_includedir}/atomic_ops*.h
|
||||
%{_libdir}/pkgconfig/atomic_ops.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user