move tmpfiles config to correct location

- move from /etc/tmpfiles.d to /usr/lib/tmpfiles.d
  http://fedoraproject.org/wiki/Packaging:Tmpfiles.d
This commit is contained in:
Jan Vcelak 2013-06-24 13:22:33 +02:00
parent 57140e8f08
commit 5265f0d549

View File

@ -289,7 +289,7 @@ install -m 0755 -d %{buildroot}%{_localstatedir}/run/openldap
# setup autocreation of runtime directories on tmpfs # setup autocreation of runtime directories on tmpfs
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
install -m 0644 %SOURCE3 %{buildroot}%{_sysconfdir}/tmpfiles.d/slapd.conf install -m 0644 %SOURCE3 %{buildroot}%{_tmpfilesdir}/slapd.conf
# install default ldap.conf (customized) # install default ldap.conf (customized)
rm -f %{buildroot}%{_sysconfdir}/openldap/ldap.conf rm -f %{buildroot}%{_sysconfdir}/openldap/ldap.conf
@ -536,8 +536,8 @@ exit 0
%config(noreplace) %dir %attr(0750,ldap,ldap) %{_sysconfdir}/openldap/slapd.d %config(noreplace) %dir %attr(0750,ldap,ldap) %{_sysconfdir}/openldap/slapd.d
%config(noreplace) %{_sysconfdir}/openldap/schema %config(noreplace) %{_sysconfdir}/openldap/schema
%config(noreplace) %{_sysconfdir}/sysconfig/slapd %config(noreplace) %{_sysconfdir}/sysconfig/slapd
%config(noreplace) %{_sysconfdir}/tmpfiles.d/slapd.conf
%config(noreplace) %{_sysconfdir}/openldap/check_password.conf %config(noreplace) %{_sysconfdir}/openldap/check_password.conf
{_tmpfilesdir}/slapd.conf
%dir %attr(0700,ldap,ldap) %{_sharedstatedir}/ldap %dir %attr(0700,ldap,ldap) %{_sharedstatedir}/ldap
%dir %attr(-,ldap,ldap) %{_localstatedir}/run/openldap %dir %attr(-,ldap,ldap) %{_localstatedir}/run/openldap
%{_unitdir}/slapd.service %{_unitdir}/slapd.service