Summary: A collection of utilities and DSOs to handle compiled objects
Summary(pl.UTF-8): Zestaw narzędzi i bibliotek do obsługi skompilowanych obiektów
Name: elfutils
-Version: 0.128
-Release: 2
+Version: 0.130
+Release: 1
License: GPL v2 with OSL linking exception
Group: Development/Tools
# http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
# or abuse systemtap to get .tar.gz directly
Source0: ftp://sources.redhat.com/pub/systemtap/elfutils/%{name}-%{version}.tar.gz
-# Source0-md5: 4da87e49616101ec256e313218c421ef
+# Source0-md5: 8111e6ea9f237567cbe086fb10c29fa1
Patch0: %{name}-pl.po.patch
Patch1: %{name}-debian-manpages.patch
Patch2: %{name}-portability.patch
Patch8: %{name}-gcc4.patch
Patch9: %{name}-inline.patch
Patch10: %{name}-Werror.patch
+Patch11: %{name}-fixes.patch
#URL: file://home/devel/drepper
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.7
# also needed for nanosecond timestamps on alpha
BuildRequires: glibc-devel >= 6:2.3.4
%endif
-BuildRequires: libltdl-devel
BuildRequires: perl-tools-pod
BuildRequires: rpmbuild(macros) >= 1.315
BuildRequires: sharutils
# fails to build with -Wl,-s
%define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
-%define _programprefix eu-
+%define programprefix eu-
%description
Elfutils is a collection of utilities, including ld (a linker), nm
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p0
rm -f po/stamp-po
# strip-test5 needs adjusting for strip-copy-symtab patch (already in FC, but not worth bothering)
sed -i -e 's/ run-strip-test5\.sh / /' tests/Makefile.am
+# temporarily disable test failing on specific archs
+%ifarch alpha sparc sparc64
+%{__perl} -pi -e 's/run-elflint-self.sh//' tests/Makefile
+%endif
+
%build
#%%{__gettextize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
- --program-prefix=%{_programprefix} \
+ --program-prefix=%{programprefix} \
--enable-shared
# make check depends on test-nlist not stripped
%{__perl} -pi -e 's/^(LDFLAGS =.*)-s/$1/' tests/Makefile
-# disable test failing on specific archs
-%ifarch sparc sparc64 alpha
-%{__perl} -pi -e 's/run-elflint-self.sh//' tests/Makefile
-%endif
-
%{__make}
%{__make} -C debian/man