Fix conditional macros for MPI builds

This commit is contained in:
sagitter 2018-08-03 12:05:28 +02:00
parent 023c038a8b
commit 202a12b9bf

View File

@ -32,7 +32,7 @@
%endif %endif
%endif %endif
%if 0%{?fedora} && 0%{?fedora} > 28 %if 0%{?fedora} && 0%{?fedora} >= 28
%bcond_without mpich %bcond_without mpich
%bcond_without openmpi %bcond_without openmpi
%endif %endif
@ -122,7 +122,7 @@
Name: petsc Name: petsc
Summary: Portable Extensible Toolkit for Scientific Computation Summary: Portable Extensible Toolkit for Scientific Computation
Version: %{releasever}.3 Version: %{releasever}.3
Release: 3%{?dist} Release: 4%{?dist}
License: BSD License: BSD
URL: https://www.mcs.anl.gov/petsc URL: https://www.mcs.anl.gov/petsc
Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz
@ -1067,8 +1067,12 @@ make -C buildmpich_dir test
%endif %endif
%changelog %changelog
* Fri Aug 03 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.9.3-4
- Fix conditional macros for MPI builds
* Thu Aug 02 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.9.3-3 * Thu Aug 02 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.9.3-3
- Exclude OpenMPI build on Fedora 28 - Exclude OpenMPI build on Fedora 28 s390x
- Patched for using Hypre-2.11.2 on epel7
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.9.3-2 * Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.9.3-2
- Rebuild with fixed binutils - Rebuild with fixed binutils