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:39:38 +01:00
parent 93ef94abca
commit e2b1ab21a6
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -355,28 +355,13 @@ rm -rf docs/installation
mv examples docs mv examples docs
mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1 mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
%post -p /sbin/ldconfig %ldconfig_scriptlets
%ldconfig_scriptlets cxx
%postun -p /sbin/ldconfig %ldconfig_scriptlets sql
%ldconfig_scriptlets tcl
%post -p /sbin/ldconfig cxx %ldconfig_scriptlets java
%postun -p /sbin/ldconfig cxx
%post -p /sbin/ldconfig sql
%postun -p /sbin/ldconfig sql
%post -p /sbin/ldconfig tcl
%postun -p /sbin/ldconfig tcl
%post -p /sbin/ldconfig java
%postun -p /sbin/ldconfig java
%files %files
%{!?_licensedir:%global license %%doc}
%license LICENSE lgpl-2.1.txt %license LICENSE lgpl-2.1.txt
%doc README %doc README
%{_libdir}/libdb-%{__soversion}.so %{_libdir}/libdb-%{__soversion}.so