Browse Source

elfutils: update to 0.157

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7945 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 10 years ago
parent
commit
858ebd799e
1 changed files with 15 additions and 4 deletions
  1. 15 4
      e/elfutils/elfutils-vl.spec

+ 15 - 4
e/elfutils/elfutils-vl.spec

@@ -1,5 +1,7 @@
-%define eu_version 0.152
-%define eu_release 2
+%define eu_version 0.157
+%define eu_release 1
+
+%global nocheck true
 
 Summary: A collection of utilities and DSOs to handle compiled objects
 Name: elfutils
@@ -9,6 +11,10 @@ License: GPLv2 with exceptions
 Group: Development/Tools
 URL: https://fedorahosted.org/elfutils/
 Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
+
+Patch1: elfutils-robustify.patch
+Patch2: elfutils-portability.patch
+
 ##VINE##
 Patch10: elfutils-0.131-readelf_c.patch
 
@@ -136,6 +142,8 @@ for libelf.
 
 %prep
 %setup -q
+%patch1 -p1 -b .robustify
+%patch2 -p1 -b .portability
 
 %patch10 -p0 -b .readelf_c
 
@@ -148,7 +156,7 @@ find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
 # the makefiles disable some specific warnings for specific code.
 RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
 
-%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
+%configure --enable-dwz CFLAGS="$RPM_OPT_FLAGS -fexceptions"
 make -s %{?_smp_mflags}
 
 
@@ -169,7 +177,7 @@ chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
 
 
 %check
-make -s check
+make -s %{?_smp_mflags} check || (cat tests/test-suite.log; %{nocheck})
 
 
 %clean
@@ -256,6 +264,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.157-1
+- update to 0.157
+
 * Wed Apr 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.152-2
 - add BR: zlib-devel, bzip2-devel, xz-devel, m4, gettext