Switch to %ldconfig_scriptlets
Reference: https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f08cb7ec48
commit
96650fcc56
@ -323,9 +323,7 @@ rm -f %{buildroot}%{_libdir}/*.la # because we do not want files in %{_libdir}/
|
||||
rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example
|
||||
rmdir %{buildroot}%{_localstatedir}/openldap-data
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%pre servers
|
||||
|
||||
@ -430,7 +428,6 @@ exit 0
|
||||
%files
|
||||
%doc openldap-%{version}/ANNOUNCEMENT
|
||||
%doc openldap-%{version}/CHANGES
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license openldap-%{version}/COPYRIGHT
|
||||
%license openldap-%{version}/LICENSE
|
||||
%doc openldap-%{version}/README
|
||||
|
Loading…
Reference in New Issue
Block a user