forked from pool/mumps
Accepting request 751019 from home:StefanBruens:branches:science
Fix openmpi flavor on TW, depends on https://build.opensuse.org/request/show/751017 - Reflect renaming of openmpi packages to openmpi1 in Tumbleweed, fixes unresolvable packages. OBS-URL: https://build.opensuse.org/request/show/751019 OBS-URL: https://build.opensuse.org/package/show/science/mumps?expand=0&rev=38
This commit is contained in:
parent
7c94177fe4
commit
54fc40f5aa
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 21:52:36 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Reflect renaming of openmpi packages to openmpi1 in Tumbleweed,
|
||||
fixes unresolvable packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 07:47:02 UTC 2019 - Ana Guerrero Lopez <aguerrero@suse.com>
|
||||
|
||||
|
@ -166,8 +166,8 @@ ExclusiveArch: do_not_build
|
||||
|
||||
%{?mpi_family:%{bcond_without mpi}}%{!?mpi_family:%{bcond_with mpi}}
|
||||
|
||||
# For compatibility package names
|
||||
%if "%{mpi_family}" != "openmpi" || "%{mpi_ver}" != "1"
|
||||
# openmpi 1 was called just "openmpi" in Leap 15.x/SLE15
|
||||
%if 0%{?suse_version} >= 1550 || "%{mpi_family}" != "openmpi" || "%{mpi_ver}" != "1"
|
||||
%define mpi_ext %{?mpi_ver}
|
||||
%endif
|
||||
|
||||
@ -327,6 +327,9 @@ Requires: scalapack-%{mpi_family}%{?mpi_ext}-devel
|
||||
Requires: mumps-scotch-devel = %{version}
|
||||
Requires: ptscotch-%{mpi_family}%{?mpi_ext}-devel
|
||||
%endif
|
||||
%if "%{mpi_family}%{?mpi_ext}" == "openmpi1"
|
||||
Provides: %{pname}%{?scotch:-%{scotch}}-openmpi-devel
|
||||
%endif
|
||||
%else # mpi
|
||||
Requires: blas-devel
|
||||
Requires: lapack-devel
|
||||
|
Loading…
Reference in New Issue
Block a user