From 66f1bceba1de695b93df17298baa1a67c37fd531 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 13 Mar 2012 15:34:03 +0100 Subject: Make sure /run/samba exists. --- samba4.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'samba4.spec') diff --git a/samba4.spec b/samba4.spec index 95cf227..ac60fd3 100644 --- a/samba4.spec +++ b/samba4.spec @@ -1,4 +1,4 @@ -%define main_release 101 +%define main_release 103 %define samba_version 4.0.0 %define talloc_version 2.0.7 @@ -50,7 +50,7 @@ Source3: swat.desktop Source4: smb.conf.default Source5: pam_winbind.conf Source6: samba.pamd -#Source7: smbprint +Source7: samba.conf.tmp Patch1: samba4-libpdb-soversion.patch Patch2: samba4-samr-lsa-session_key.patch @@ -406,6 +406,9 @@ install -m644 examples/LDAP/samba.schema %{buildroot}%{_sysconfdir}/openldap/sch install -d -m 0755 %{buildroot}%{_sysconfdir}/xinetd.d install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/swat +install -d -m 0755 %{buildroot}%{_sysconfdir}/tmpfiles.d/ +install -m644 %{SOURCE7} %{buildroot}%{_sysconfdir}/tmpfiles.d/samba.conf + install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig install -m 0644 packaging/systemd/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba @@ -527,6 +530,7 @@ rm -rf %{buildroot} %attr(1777,root,root) %dir /var/spool/samba %dir %{_sysconfdir}/openldap/schema %{_sysconfdir}/openldap/schema/samba.schema +%{_sysconfdir}/tmpfiles.d/samba.conf %files libs %defattr(-,root,root) -- cgit