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.132
+Version: 0.141
Release: 1
License: GPL v2 with OSL linking exception
Group: Development/Tools
-# http://ftp.fi.muni.cz/pub/linux/fedora/linux/development/source/SRPMS/
-Source0: %{name}-%{version}.tar.gz
-# Source0-md5: 73603ebe9bff4e5c7295c6e683436940
+Source0: https://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
+# Source0-md5: 2d0fe5651c0de1fd28e7dd006effe7d1
Patch0: %{name}-pl.po.patch
Patch1: %{name}-debian-manpages.patch
Patch2: %{name}-portability.patch
Patch4: %{name}-align.patch
Patch5: %{name}-paxflags.patch
Patch6: %{name}-sparc.patch
-Patch7: %{name}-strip-copy-symtab.patch
-Patch9: %{name}-inline.patch
-Patch10: %{name}-Werror.patch
-#URL: file://home/devel/drepper
+Patch7: %{name}-inline.patch
+Patch8: %{name}-Werror.patch
+Patch9: %{name}-bashism.patch
+Patch10: %{name}-scanf.patch
+URL: https://fedorahosted.org/elfutils/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.7
-BuildRequires: gcc >= 3.2
+BuildRequires: gcc >= 5:3.4
BuildRequires: gettext-devel
%ifarch %{x8664} alpha ia64 ppc64 s390x sparc64
# PR*FAST{8,16} in <inttypes.h> were broken for 64-bit archs in older versions
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%patch9 -p1
%patch10 -p1
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
+%ifarch alpha
%{__perl} -pi -e 's/run-elflint-self.sh//' tests/Makefile
%endif
%build
#%%{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoheader}
%{__autoconf}
%{__automake}
%configure \
- --program-prefix=%{programprefix} \
- --enable-shared
+ --program-prefix=%{programprefix}
# make check depends on test-nlist not stripped
%{__perl} -pi -e 's/^(LDFLAGS =.*)-s/$1/' tests/Makefile