Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f41b5dbbe0
commit
248a2e2dde
16
lapack.spec
16
lapack.spec
@ -461,22 +461,14 @@ sed -i 's|-lcblas|-lcblas64_|g' %{buildroot}%{_libdir}/pkgconfig/cblas64.pc
|
||||
sed -i 's|Requires.private: blas|Requires.private: blas64|g' %{buildroot}%{_libdir}/pkgconfig/cblas64.pc
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n blas -p /sbin/ldconfig
|
||||
|
||||
%postun -n blas -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n blas
|
||||
|
||||
%if 0%{?arch64}
|
||||
%post -n lapack64 -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n lapack64
|
||||
|
||||
%postun -n lapack64 -p /sbin/ldconfig
|
||||
|
||||
%post -n blas64 -p /sbin/ldconfig
|
||||
|
||||
%postun -n blas64 -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n blas64
|
||||
%endif
|
||||
|
||||
%files -f lapackmans
|
||||
|
Loading…
Reference in New Issue
Block a user