X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=elfutils.spec;h=4e4638c9693b671b81962f680ce6206f746f1a86;hb=refs%2Ftags%2Fauto%2Fth%2Felfutils-0_130-1;hp=86dc290a8cfd4f6277dc92acb8183982c2005447;hpb=e82f929b57eb3e0ab8a279a208dc50e6ddec1f72;p=packages%2Felfutils.git diff --git a/elfutils.spec b/elfutils.spec index 86dc290..4e4638c 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -5,14 +5,14 @@ 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.129 +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: 0cbce01d2fbbac19da70b17bdbf18bf8 +# Source0-md5: 8111e6ea9f237567cbe086fb10c29fa1 Patch0: %{name}-pl.po.patch Patch1: %{name}-debian-manpages.patch Patch2: %{name}-portability.patch @@ -24,7 +24,7 @@ Patch7: %{name}-strip-copy-symtab.patch Patch8: %{name}-gcc4.patch Patch9: %{name}-inline.patch Patch10: %{name}-Werror.patch -Patch11: %{name}-elflint-ppc-got.patch +Patch11: %{name}-fixes.patch #URL: file://home/devel/drepper BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.7 @@ -48,7 +48,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # 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 @@ -154,9 +154,12 @@ programowalny interfejs asemblera. rm -f po/stamp-po # strip-test5 needs adjusting for strip-copy-symtab patch (already in FC, but not worth bothering) -# missing source for dwfl-bug-report -# missing run-strip-test7.sh script -sed -i -e 's/ run-strip-test[57]\.sh / /;s/ dwfl-bug-report//' tests/Makefile.am +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} @@ -165,17 +168,12 @@ sed -i -e 's/ run-strip-test[57]\.sh / /;s/ dwfl-bug-report//' tests/Makefile.am %{__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