summaryrefslogtreecommitdiffstats
path: root/funpl/pure.spec
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-09-08 13:47:14 -0400
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-09-08 13:47:14 -0400
commitc58e6ac176820b48828ed86efb337cad613fd490 (patch)
tree38dd76beaa1603d9687145d2674968b4c9427cee /funpl/pure.spec
parente827ad2b0b4f4a9a6e4fe6095785d8d62e3d0bf6 (diff)
downloadspecs-c58e6ac176820b48828ed86efb337cad613fd490.tar.gz
specs-c58e6ac176820b48828ed86efb337cad613fd490.tar.xz
specs-c58e6ac176820b48828ed86efb337cad613fd490.zip
pure.spec: stop unit test failures from breaking build in PPC
Diffstat (limited to 'funpl/pure.spec')
-rw-r--r--funpl/pure.spec17
1 files changed, 13 insertions, 4 deletions
diff --git a/funpl/pure.spec b/funpl/pure.spec
index d3404ef..133a28e 100644
--- a/funpl/pure.spec
+++ b/funpl/pure.spec
@@ -11,7 +11,7 @@
Name: pure
Version: 0.34
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A term-rewriting functional programming language
Group: Development/Languages
@@ -78,8 +78,7 @@ An Emacs mode for editing Pure source code.
%build
%ifarch ppc
-# http://code.google.com/p/pure-lang/issues/detail?id=13
-# see comment #47
+# http://code.google.com/p/pure-lang/issues/detail?id=13#c47
%configure --disable-fastcc
%else
%configure
@@ -103,7 +102,11 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{emacs_startdir}
%check
-make check; true # ignore errors for now
+%ifnarch ppc
+make check
+%else
+(make check 2>&1 | tee testlog.txt || true)
+%endif
%clean
@@ -119,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING NEWS README TODO etc
+%ifarch ppc
+%doc testlog.txt
+%endif
%{_bindir}/pure*
%{_libdir}/libpure*.so.*
%exclude %{_libdir}/pure/pure_main.c
@@ -143,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Sep 8 2009 Michel Salim <salimma@fedoraproject.org> - 0.34-2
+- Make tests advisory on ppc for now
+
* Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 0.34-1
- Update to 0.34