[psi4] Enable tests.

Susi Lehtola jussilehtola at fedoraproject.org
Tue May 13 05:20:41 UTC 2014


commit 15a68bb3ed9a2a7efbfd105b6fe696d7a5964ef1
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date:   Tue May 13 08:20:30 2014 +0300

    Enable tests.

 psi4.spec |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/psi4.spec b/psi4.spec
index e9cf1b3..d0a300f 100644
--- a/psi4.spec
+++ b/psi4.spec
@@ -7,7 +7,7 @@
 
 Name:           psi4
 Version:        4.0
-Release:        0.11.%{shortcommit}git%{?dist}
+Release:        0.12.%{shortcommit}git%{?dist}
 Summary:        An ab initio quantum chemistry package
 Group:          Applications/Engineering
 License:        GPLv2+ and MIT
@@ -32,7 +32,7 @@ BuildRequires:  byacc
 BuildRequires:  flex
 BuildRequires:  gcc-gfortran
 BuildRequires:  libint-devel >= 1.1.5-3
-BuildRequires:  perl
+BuildRequires:  perl-devel
 BuildRequires:  python2-devel >= 2.6
 BuildRequires:  numpy
 
@@ -43,6 +43,9 @@ BuildRequires:  tex-preview
 BuildRequires:  dvipng
 BuildRequires:  graphviz
 
+# Needed for running tests
+BuildRequires:  perl(Env)
+
 Requires:  %{name}-data = %{version}-%{release}
 Requires:  numpy
 # Libint can break the api between releases
@@ -131,14 +134,10 @@ make -C objdir-%{_target_platform} install-doc DESTDIR=%{buildroot}
 mv %{buildroot}%{_docdir}/html htmldoc
 
 
-%if 0
-# Tests fail on rawhide due to some perl script incompatibility error.
-# The test results are OK, though.
 %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,6 +156,9 @@ make -C objdir-%{_target_platform} quicktests
 %doc COPYING LICENSE htmldoc/*
 
 %changelog
+* Tue May 13 2014 Susi Lehtola <jussilehtola at fedoraproject.org> - 4.0-0.12.0c7ea928git
+- Enable tests.
+
 * Tue May 13 2014 Susi Lehtola <jussilehtola at fedoraproject.org> - 4.0-0.11.0c7ea928git
 - Update to newest git snapshot.
 - Remove BR: ruby-devel.


More information about the scm-commits mailing list