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