From fb93dfec4e6b469109f2c25a2efe204c2572b13e62014f3fb233127a98985a9c Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 16 Jan 2019 09:42:11 +0000 Subject: [PATCH] - Limit rpmlintrc filters to HPC packages and document the motivation behind it: HPC libraries are installed into non-standard install paths. OBS-URL: https://build.opensuse.org/package/show/science/superlu?expand=0&rev=6 --- superlu-rpmlintrc | 5 +++-- superlu.changes | 7 +++++++ superlu.spec | 7 +++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/superlu-rpmlintrc b/superlu-rpmlintrc index f161fd3..f7feab9 100644 --- a/superlu-rpmlintrc +++ b/superlu-rpmlintrc @@ -1,6 +1,7 @@ # This line is mandatory to access the configuration functions from Config import * -addFilter("superlu.* library-without-ldconfig-postin") -addFilter("superlu.* library-without-ldconfig-postun") +# HPC libs are installed in a non-standard location: don't run ldconfig +addFilter("superlu.*-hpc.* library-without-ldconfig-postin") +addFilter("superlu.*-hpc.* library-without-ldconfig-postun") diff --git a/superlu.changes b/superlu.changes index 01885ca..6eec850 100644 --- a/superlu.changes +++ b/superlu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 16 09:35:05 UTC 2019 - eich@suse.com + +- Limit rpmlintrc filters to HPC packages and document the + motivation behind it: HPC libraries are installed into + non-standard install paths. + ------------------------------------------------------------------- Thu Jan 10 09:31:45 UTC 2019 - eich@suse.com diff --git a/superlu.spec b/superlu.spec index 056256d..18fff82 100644 --- a/superlu.spec +++ b/superlu.spec @@ -14,7 +14,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# SuperLU library build that is dependent on compiler toolchain + %global flavor @BUILD_FLAVOR@%{nil} @@ -72,9 +72,9 @@ Patch2: superlu-4.3-dont-opt-away.diff # this routine in the library which, however, remains fully functional Patch3: superlu-5.2-remove-mc64ad.patch URL: http://crd.lbl.gov/~xiaoye/SuperLU/ -BuildRequires: tcsh -BuildRequires: fdupes BuildRequires: cmake >= 2.8.12 +BuildRequires: fdupes +BuildRequires: tcsh %if %{without hpc} BuildRequires: blas-devel BuildRequires: gcc-fortran @@ -161,7 +161,6 @@ module load openblas -DCMAKE_BUILD_TYPE=Release -DUSE_XSDK_DEFAULTS='TRUE' -Denable_tests=OFF make %{?_smp_mflags} - %install %cmake_install #fix permissions