OBS User unknown
2009-02-19 17:07:55 +00:00
committed by Git OBS Bridge
parent 31e5aa2781
commit 84a08e7aa8
15 changed files with 763 additions and 1341 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package elfutils (Version 0.137)
# spec file for package elfutils (Version 0.140)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,12 +20,11 @@
Name: elfutils
License: GPL v2 or later
Version: 0.137
Release: 7
Version: 0.140
Release: 1
Summary: Higher-level library to access ELF
Group: System/Libraries
Url: http://elfutils.fedorahosted.org
Recommends: libebl1
Source: elfutils-%{version}-no-osl.tar.bz2
Patch: elfutils-portability.patch
Patch1: elfutils-robustify.patch
@@ -35,14 +34,9 @@ Patch8: elfutils-0.97-ftruncate-mmap-fix.diff
Patch9: libelf-ignore-NOBITS-sh_offset.patch
Patch10: test.diff
Patch11: build.diff
Patch20: elfutils-0.137-fixes.patch
Patch21: elfutils-0.137-dwfl_getmodules-fixes.diff
Patch22: elfutils-0.137-i386-rel-types.diff
Patch23: elfutils-0.137-readelf-crash-fix.diff
Patch24: elfutils-0.137-nm-crash-fix.diff
Patch25: elfutils-0.137-main-bias-fix.diff
Patch26: elfutils-0.137-main-bias-fix2.diff
Patch27: elfutils-0.137-dwarf-header-check-fix.diff
Patch12: elfutils-old-scanf-fix.diff
Patch13: elfutils-suse-10.3-fixes.diff
Patch20: elfutils-0.137-dwarf-header-check-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -102,7 +96,6 @@ Authors:
Summary: A collection of utilities and DSOs to handle compiled objects
Group: Development/Tools/Other
License: GPL v2 or later
Requires: libdw1 = %{version}-%{release}
Provides: libebl = %{version}
Obsoletes: libebl < %{version}
@@ -182,10 +175,11 @@ Authors:
Ulrich Drepper
%package -n libdw-devel
Summary: Include Files and Libraries mandatory for Development.
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
License: GPL v2 or later
Requires: glibc-devel, libdw1 = %{version}, libelf-devel = %{version}
Requires: glibc-devel, libdw1 = %{version}
Requires: libelf-devel = %{version}
%description -n libdw-devel
This package contains all necessary include files and libraries needed
@@ -207,30 +201,33 @@ Authors:
%patch9 -p1
#%patch10 -p1
%patch11 -p1
%if %suse_version < 1100
%patch12
%endif
%if %suse_version == 1030
# only 10.3 gcc has a problem
%patch13
%endif
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
# this seems buggy (bnc#468814)
# %patch26 -p1
%patch27 -p1
%build
autoreconf -fi
%configure --program-prefix=eu-
make %{?jobs:-j %jobs}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
# remove unneeded files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -n libebl1 -p /sbin/ldconfig
%post -n libelf1 -p /sbin/ldconfig
%post -n libdw1 -p /sbin/ldconfig
%postun -n libebl1 -p /sbin/ldconfig
%postun -n libelf1 -p /sbin/ldconfig
%postun -n libdw1 -p /sbin/ldconfig
@@ -280,6 +277,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/nlist.h
%dir %{_includedir}/elfutils
%{_includedir}/elfutils/elf-knowledge.h
%{_includedir}/elfutils/version.h
%files -n libdw1
%defattr(-,root,root)
@@ -296,6 +294,18 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/elfutils/libdwfl.h
%changelog
* Thu Feb 19 2009 tiwai@suse.de
- Update to 0.139
- libcpu: Add Intel SSE4 disassembler support
- readelf: Implement call frame information and exception
handling dumping.
Add -e option. Enable it implicitly for -a.
- elflint: Check PT_GNU_EH_FRAME program header entry.
- libdwfl: Support automatic gzip/bzip2 decompression of ELF
files.
- updated to 0.140:
- libelf: Fix regression in creation of section header.
- Misc bug fixes
* Tue Jan 27 2009 tiwai@suse.de
- revert the ET_DYN address fix patch; causing a regression
(bnc#468814)