diff --git a/openldap.spec b/openldap.spec index dc86ed5..c828153 100644 --- a/openldap.spec +++ b/openldap.spec @@ -288,7 +288,7 @@ install -m 0700 -d %{buildroot}%{_sharedstatedir}/ldap install -m 0755 -d %{buildroot}%{_localstatedir}/run/openldap # setup autocreation of runtime directories on tmpfs -mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d +mkdir -p %{buildroot}%{_tmpfilesdir} install -m 0644 %SOURCE3 %{buildroot}%{_tmpfilesdir}/slapd.conf # install default ldap.conf (customized) @@ -537,7 +537,7 @@ exit 0 %config(noreplace) %{_sysconfdir}/openldap/schema %config(noreplace) %{_sysconfdir}/sysconfig/slapd %config(noreplace) %{_sysconfdir}/openldap/check_password.conf -{_tmpfilesdir}/slapd.conf +%{_tmpfilesdir}/slapd.conf %dir %attr(0700,ldap,ldap) %{_sharedstatedir}/ldap %dir %attr(-,ldap,ldap) %{_localstatedir}/run/openldap %{_unitdir}/slapd.service