[psi4] Don't run tests after all, two tests aren't converging.
Susi Lehtola
jussilehtola at fedoraproject.org
Wed May 14 08:41:30 UTC 2014
commit 8ff1a6da6279b496d335181ecc0e86c49e0d3ab3
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date: Wed May 14 11:41:20 2014 +0300
Don't run tests after all, two tests aren't converging.
psi4.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/psi4.spec b/psi4.spec
index d0a300f..458e7cc 100644
--- a/psi4.spec
+++ b/psi4.spec
@@ -1,3 +1,6 @@
+# Run tests?
+%bcond_with tests
+
# git snapshot
%global commit 0c7ea92851e44ea5df8ac181200c6a277651a8fa
%global shortcommit %(c=%{commit}; echo ${c:0:7})
@@ -43,8 +46,10 @@ BuildRequires: tex-preview
BuildRequires: dvipng
BuildRequires: graphviz
+%if %{with tests}
# Needed for running tests
BuildRequires: perl(Env)
+%endif
Requires: %{name}-data = %{version}-%{release}
Requires: numpy
@@ -133,11 +138,12 @@ make -C objdir-%{_target_platform} install-doc DESTDIR=%{buildroot}
# .. but move it back from the buildroot
mv %{buildroot}%{_docdir}/html htmldoc
-
+%if %{with tests}
%check
# Full blown tests - take a long time to complete
#make -C objdir-%{_target_platform} tests
make -C objdir-%{_target_platform} quicktests
+%endif
%files
%doc COPYING LICENSE
@@ -157,7 +163,7 @@ make -C objdir-%{_target_platform} quicktests
%changelog
* Tue May 13 2014 Susi Lehtola <jussilehtola at fedoraproject.org> - 4.0-0.12.0c7ea928git
-- Enable tests.
+- Add BR: perl(Env) for tests.
* Tue May 13 2014 Susi Lehtola <jussilehtola at fedoraproject.org> - 4.0-0.11.0c7ea928git
- Update to newest git snapshot.
More information about the scm-commits
mailing list