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
|
rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example
|
||||||
rmdir %{buildroot}%{_localstatedir}/openldap-data
|
rmdir %{buildroot}%{_localstatedir}/openldap-data
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%pre servers
|
%pre servers
|
||||||
|
|
||||||
@ -430,7 +428,6 @@ exit 0
|
|||||||
%files
|
%files
|
||||||
%doc openldap-%{version}/ANNOUNCEMENT
|
%doc openldap-%{version}/ANNOUNCEMENT
|
||||||
%doc openldap-%{version}/CHANGES
|
%doc openldap-%{version}/CHANGES
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license openldap-%{version}/COPYRIGHT
|
%license openldap-%{version}/COPYRIGHT
|
||||||
%license openldap-%{version}/LICENSE
|
%license openldap-%{version}/LICENSE
|
||||||
%doc openldap-%{version}/README
|
%doc openldap-%{version}/README
|
||||||
|
Loading…
Reference in New Issue
Block a user