Accepting request 867654 from home:eeich:branches:science

- Change 'Requires:' to other HPC packages to %requires_eq to depend
  on the exact version. This should take care of HPC packages ignoring
  proper ABI versioning.

OBS-URL: https://build.opensuse.org/request/show/867654
OBS-URL: https://build.opensuse.org/package/show/science/superlu?expand=0&rev=32
This commit is contained in:
Egbert Eich 2021-01-29 08:17:17 +00:00 committed by Git OBS Bridge
parent f22e43c088
commit 0a7bf53734
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 28 17:45:16 UTC 2021 - Egbert Eich <eich@suse.com>
- Change 'Requires:' to other HPC packages to %requires_eq to depend
on the exact version. This should take care of HPC packages ignoring
proper ABI versioning.
-------------------------------------------------------------------
Mon Nov 16 14:41:49 UTC 2020 - Ana Guerrero Lopez <aguerrero@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package superlu
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -125,7 +125,7 @@ http://www.netlib.org.
Summary: SuperLU matrix solver
Group: System/Libraries
%if %{with hpc}
Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc
%{requires_eq libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc}
Requires: lua-lmod >= 7.6.1
%hpc_requires
%endif
@ -139,7 +139,7 @@ Summary: Headers and development library for lib%{name}%{?_sover}
Group: Development/Libraries/C and C++
Requires: %libname = %version
%if %{with hpc}
Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
%{requires_eq libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel}
%hpc_requires_devel
%endif
Recommends: %name-doc