diff --git a/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec b/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec index cdb4cb5407..9d6d6a09d5 100644 --- a/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec +++ b/contrib/crossrpms/autotools/rtems-4.10-autoconf.spec @@ -50,13 +50,15 @@ %define name rtems-4.10-autoconf +# --with alltests enable all tests +%bcond_with alltests Name: %{name} License: GPL URL: http://www.gnu.org/software/autoconf Group: Development/Tools Version: %{rpmvers} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tool for automatically generating GNU style Makefile.in's BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -136,7 +138,7 @@ TESTSUITEFLAGS='-198 200-' TESTSUITEFLAGS='-204 206-' %endif -make check TESTSUITEFLAGS="${TESTSUITEFLAGS}" +make check %{!?with_alltests:TESTSUITEFLAGS="${TESTSUITEFLAGS}"} %endif %install