Add %check

This commit is contained in:
Orion Poplawski 2013-08-23 16:54:00 -06:00
parent a6776a8ef9
commit 28506e542e

View File

@ -3,7 +3,7 @@
Summary: A high-performance implementation of MPI
Name: mpich
Version: 3.0.4
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT
Group: Development/Libraries
URL: http://www.mpich.org/
@ -189,6 +189,9 @@ sed -i '/^#! \//,1 d' %{buildroot}%{_sysconfdir}/%{name}-%{_arch}/mpi*.conf
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
rm -f %{buildroot}%{_libdir}/%{name}/lib/lib{*mpich*,opa,mpl}.a
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -224,6 +227,9 @@ rm -f %{buildroot}%{_libdir}/%{name}/lib/lib{*mpich*,opa,mpl}.a
%{_mandir}/%{name}/man3/
%changelog
* Fri Aug 23 2013 Orion Poplawski <orion@cora.nwra.com> - 3.0.4-5
- Add %%check
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild