[netcdf] use %{mpi_list} also in %check
Dan Horák
sharkcz at fedoraproject.org
Tue Mar 20 08:33:05 UTC 2012
commit a9c41170278af6d164e21f0ef4a8687d5a76aeb1
Author: Dan Horák <dan at danny.cz>
Date: Tue Mar 20 09:30:59 2012 +0100
use %{mpi_list} also in %check
netcdf.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/netcdf.spec b/netcdf.spec
index c029abe..6857054 100644
--- a/netcdf.spec
+++ b/netcdf.spec
@@ -1,6 +1,6 @@
Name: netcdf
Version: 4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Libraries for the Unidata network Common Data Form
Group: Applications/Engineering
@@ -237,7 +237,7 @@ done
%check
make -C build check
-for mpi in mpich2 openmpi
+for mpi in %{mpi_list}
do
module load $mpi-%{_arch}
make -C $mpi check
@@ -318,6 +318,9 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
+* Tue Mar 20 2012 Dan Horák <dan[at]danny.cz> - 4.2-2
+- use %%{mpi_list} also in %%check
+
* Fri Mar 16 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2-1
- Update to 4.2 final
More information about the scm-commits
mailing list