diff --git a/mumps.changes b/mumps.changes index 0ef6e93..dc0a483 100644 --- a/mumps.changes +++ b/mumps.changes @@ -9,7 +9,7 @@ Sat Feb 9 13:40:09 UTC 2019 - eich@suse.com - Build example binaries against shared libs for all builds. - Add Makefiles-Serialize-libseq-libplat-mommond_mod-for-parallel-builds.patch: make sure builds are serialized for 'make -j ' -- Version mumps, requires and buildrequires. +- Version mumps, requires and buildrequires, remove unneeded buildrequires. - Only include requires for the respecive flavor (non-scotch, scotch). ------------------------------------------------------------------- diff --git a/mumps.spec b/mumps.spec index 78be376..b050207 100644 --- a/mumps.spec +++ b/mumps.spec @@ -214,8 +214,6 @@ Patch1: Makefiles-Serialize-libseq-libplat-mommond_mod-for-parallel-buil BuildRequires: gcc-fortran %{?with_scotch:BuildRequires: %{scotch}%{?with_mpi:-%{mpi_family}}-devel} %if %{with mpi} -BuildRequires: %{pname}%{?scotch:-scotch}-devel = %version -BuildRequires: %{pname}%{?scotch:-scotch}-devel-static = %version BuildRequires: %{mpi_family}-devel BuildRequires: scalapack-%{mpi_family}-devel BuildRequires: libblacs2-%{mpi_family}-devel @@ -265,11 +263,12 @@ This package contains the parallel library%{?with_mpi: with %{mpi_family}}%{?sco %package %{so_ver}-compat Summary: A MUltifrontal Massively Parallel Sparse direct Solver Group: System/Libraries -%if %{without hpc} && %{with mpi} -# Needed for non-HPC MPI builds to link to it from the MPI libdir - see below. -BuildRequires: lib%{pname}%{?scotch:-scotch}%{so_ver} = %{version} -%endif Requires: lib%{pname}%{?scotch:-scotch}%{so_ver} = %{version} +%if %{without hpc} && %{with mpi} +# Install link targets for non-HPC MPI compat links from the MPI libdir - see below. +BuildRequires: lib%{pname}%{?scotch:-scotch}%{so_ver} = %{version} +BuildRequires: %{pname}%{?scotch:-scotch}-devel-static = %version +%endif %description %{so_ver}-compat MUMPS implements a direct solver for large sparse linear systems, with a