conditionalize tests so that they dont run on sparc

This commit is contained in:
Tom Callaway 2008-03-26 19:46:22 +00:00
parent afea4a5ed7
commit ec90f1afa8

View File

@ -1,5 +1,5 @@
%define eu_version 0.133 %define eu_version 0.133
%define eu_release 2 %define eu_release 3
%if %{?_with_compat:1}%{!?_with_compat:0} %if %{?_with_compat:1}%{!?_with_compat:0}
%define compat 1 %define compat 1
@ -194,7 +194,11 @@ chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
} }
%check %check
# These tests fail in minor ways on sparc, and trying to get them fixed
# simply resulted in people flaming each other. Disabling for the time being.
%ifnarch sparc sparcv9 sparc64
make -s check make -s check
%endif
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
@ -270,6 +274,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.a %{_libdir}/libelf.a
%changelog %changelog
* Wed Mar 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.133-3
- conditionalize tests so that they don't run on sparc
* Sun Mar 2 2008 Roland McGrath <roland@redhat.com> - 0.133-2 * Sun Mar 2 2008 Roland McGrath <roland@redhat.com> - 0.133-2
- Update to 0.133 - Update to 0.133
- readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A) - readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)