diff --git a/rasqal.spec b/rasqal.spec index cc97038..67d8c26 100644 --- a/rasqal.spec +++ b/rasqal.spec @@ -15,6 +15,7 @@ BuildRequires: pcre-devel BuildRequires: raptor2-devel # for the testsuite BuildRequires: perl(XML::DOM) +#BuildRequires: %{_bindir}/rapper %description Rasqal is a library providing full support for querying Resource @@ -56,11 +57,15 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la %check +if [ -x %{_bindir}/rapper ]; then %ifarch ppc64 s390x make -k check ||: %else make -k check %endif +else +echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped" +fi %clean @@ -96,6 +101,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Sun Jul 31 2011 Rex Dieter 0.9.26-1 - 0.9.26 +- %%check: make /usr/bin/rapper not present non-fatal * Wed Feb 09 2011 Fedora Release Engineering - 0.9.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild