- devel: Provides: %name-static ...
- consolidate %doc's - %files: track libs
This commit is contained in:
parent
16cfa758b3
commit
6e4ed95019
@ -1,10 +1,7 @@
|
||||
# No debug information gets generated from a static lib, so
|
||||
# debuginfo will be empty.
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: libatomic_ops
|
||||
Version: 1.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Atomic memory update operations
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -16,6 +13,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Patch1: libatomic_ops-1.2-ppclwzfix.patch
|
||||
Patch2: libatomic_ops-1.2-s390-include.patch
|
||||
|
||||
# No debug information gets generated from a static lib, so
|
||||
# debuginfo will be empty.
|
||||
%define debug_package %{nil}
|
||||
|
||||
%description
|
||||
Provides implementations for atomic memory update operations on a
|
||||
number of architectures. This allows direct use of these in reasonably
|
||||
@ -27,6 +28,7 @@ that involves minimum overhead across a variety of architectures.
|
||||
%package devel
|
||||
Summary: Atomic memory update operations
|
||||
Group: Development/Libraries
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Provides implementations for atomic memory update operations on a
|
||||
@ -51,6 +53,9 @@ make %{?_smp_mflags}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# omit dup'd docs
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/libatomic_ops/{COPYING,*.txt}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -58,16 +63,22 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%doc doc/*.txt
|
||||
%{_includedir}/atomic_ops.h
|
||||
%{_includedir}/atomic_ops_malloc.h
|
||||
%{_includedir}/atomic_ops_stack.h
|
||||
%{_includedir}/atomic_ops
|
||||
%{_libdir}/%{name}*.a
|
||||
%{_datadir}/%{name}
|
||||
%{_includedir}/atomic_ops/
|
||||
%{_libdir}/libatomic_ops.a
|
||||
%{_libdir}/libatomic_ops_gpl.a
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7
|
||||
- devel: Provides: %%name-static ...
|
||||
- consolidate %%doc's
|
||||
- %%files: track libs
|
||||
|
||||
* Wed May 20 2009 Dan Horak <dan[t]danny.cz> - 1.2-6
|
||||
- added fix for s390
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user