diff --git a/openldap.spec b/openldap.spec index 9f518a4..a439c19 100644 --- a/openldap.spec +++ b/openldap.spec @@ -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