[rasqal] - %%check: make /usr/bin/rapper not present non-fatal
Rex Dieter
rdieter at fedoraproject.org
Sun Jul 31 16:19:55 UTC 2011
commit 41bab960154eccd2097d96b7cf40e1613cd62ab5
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Sun Jul 31 11:25:17 2011 -0500
- %%check: make /usr/bin/rapper not present non-fatal
rasqal.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
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 <rdieter at fedoraproject.org> 0.9.26-1
- 0.9.26
+- %%check: make /usr/bin/rapper not present non-fatal
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list