Accepting request 667025 from home:eeich:factory_staging
- Reenable ldconfig in %post and %postun for HPC but don't let it update the cache: this would be pointless for libraries in non-standard locations. OBS-URL: https://build.opensuse.org/request/show/667025 OBS-URL: https://build.opensuse.org/package/show/science/superlu?expand=0&rev=7
This commit is contained in:
parent
fb93dfec4e
commit
995db9c2bb
@ -1,7 +0,0 @@
|
||||
# This line is mandatory to access the configuration functions
|
||||
from Config import *
|
||||
|
||||
# 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")
|
||||
|
@ -1,9 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 09:35:05 UTC 2019 - eich@suse.com
|
||||
Fri Jan 18 14:46:44 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.
|
||||
- Reenable ldconfig in %post and %postun for HPC but don't let it
|
||||
update the cache: this would be pointless for libraries in
|
||||
non-standard locations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 09:31:45 UTC 2019 - eich@suse.com
|
||||
|
@ -59,7 +59,6 @@ Release: 0
|
||||
Source: http://crd-legacy.lbl.gov/%7Exiaoye/SuperLU/%{pname}_%{version}.tar.gz
|
||||
Source1: superlu_ug.pdf
|
||||
Source2: README.SUSE
|
||||
Source3: superlu-rpmlintrc
|
||||
# PATCH-FEATURE-OPENSUSE superlu-5.2-make.patch : add compiler and build flags in make.inc
|
||||
Patch0: superlu-5.2-make.patch
|
||||
# PATCH-FIX-UPSTREAM superlu-4.3-include.patch : avoid implicit declaration warnings
|
||||
@ -215,6 +214,11 @@ EOF
|
||||
%if %{without hpc}
|
||||
%post -n lib%{name}%{?_sover} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{?_sover} -p /sbin/ldconfig
|
||||
%else
|
||||
%post -n lib%{name}%{?_sover}
|
||||
/sbin/ldconfig -N %hpc_libdir
|
||||
%postun -n lib%{name}%{?_sover}
|
||||
/sbin/ldconfig -N %hpc_libdir
|
||||
%endif
|
||||
|
||||
%files -n lib%{name}%{?_sover}
|
||||
|
Loading…
x
Reference in New Issue
Block a user