Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:40:34 +01:00
parent c2e6ea0c69
commit 09825fb09a
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -595,33 +595,23 @@ rm -rf %{buildroot}%{_libdir}/cmake
# Get rid of generated pkgconfig # Get rid of generated pkgconfig
rm -rf %{buildroot}%{_libdir}/pkgconfig rm -rf %{buildroot}%{_libdir}/pkgconfig
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%post openmp -p /sbin/ldconfig %ldconfig_scriptlets openmp
%postun openmp -p /sbin/ldconfig
%post Rblas -p /sbin/ldconfig %ldconfig_scriptlets Rblas
%postun Rblas -p /sbin/ldconfig
%post threads -p /sbin/ldconfig %ldconfig_scriptlets threads
%postun threads -p /sbin/ldconfig
%if %build64 %if %build64
%post openmp64 -p /sbin/ldconfig %ldconfig_scriptlets openmp64
%postun openmp64 -p /sbin/ldconfig %ldconfig_scriptlets openmp64_
%post openmp64_ -p /sbin/ldconfig
%postun openmp64_ -p /sbin/ldconfig
%post serial64 -p /sbin/ldconfig %ldconfig_scriptlets serial64
%postun serial64 -p /sbin/ldconfig %ldconfig_scriptlets serial64_
%post serial64_ -p /sbin/ldconfig
%postun serial64_ -p /sbin/ldconfig
%post threads64 -p /sbin/ldconfig %ldconfig_scriptlets threads64
%postun threads64 -p /sbin/ldconfig %ldconfig_scriptlets threads64_
%post threads64_ -p /sbin/ldconfig
%postun threads64_ -p /sbin/ldconfig
%endif %endif
%files %files