disable parallel make and valgrind checks

This commit is contained in:
Peter Robinson 2012-05-05 21:11:32 +01:00
parent 9a485c3ac0
commit 04305925f5

View File

@ -43,19 +43,10 @@ find . -name '*.ggo' -exec chmod 644 {} ';'
%build %build
%configure --docdir=%{_docdir}/%{name}-%{version} %configure --docdir=%{_docdir}/%{name}-%{version}
make %{?_smp_mflags}
%check make
make check
%ifarch %{ix86} x86_64 ppc ppc64 %{arm}
pushd ./tests
make check-valgrind
popd
%endif
%install %install
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
@ -67,6 +58,9 @@ pushd ./doc
cp -p main2.c sample2.ggo ../examples cp -p main2.c sample2.ggo ../examples
popd popd
%check
make check
%post %post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :