From a6338c01b7a20b2e4786c74d3cc00027e23420e7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 14 Jan 2010 18:26:01 +0100 Subject: v3-4-ctdb: Do not do any logrotation --- packaging/RHEL-CTDB/samba.spec.tmpl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'packaging/RHEL-CTDB') diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl index a22bfbd778..4978cfa5b1 100644 --- a/packaging/RHEL-CTDB/samba.spec.tmpl +++ b/packaging/RHEL-CTDB/samba.spec.tmpl @@ -24,7 +24,6 @@ Prereq: fileutils sed /etc/init.d Requires: pam >= 0.64 %{auth} Requires: samba-common = %{version}-%{release} -Requires: logrotate >= 3.4 initscripts >= 5.54-1 Provides: samba = %{version} Prefix: /usr @@ -300,8 +299,8 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir} mkdir -p $RPM_BUILD_ROOT%{_prefix}/{bin,sbin} mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib mkdir -p $RPM_BUILD_ROOT/sbin -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{logrotate.d,pam.d,samba} -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,logrotate.d} +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,samba} +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d @@ -351,7 +350,6 @@ rm -rf %{_32bit_tmp_dir} # Install the miscellany echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts -install -m644 setup/samba.log $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba install -m644 setup/swat $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat install -m644 setup/samba.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba install -m755 setup/smb.init $RPM_BUILD_ROOT%{initdir}/smb @@ -450,7 +448,6 @@ exit 0 %config(noreplace) %{_sysconfdir}/sysconfig/samba %config(noreplace) %{_sysconfdir}/samba/smbusers %attr(755,root,root) %config %{initdir}/smb -%config(noreplace) %{_sysconfdir}/logrotate.d/samba %config(noreplace) %{_sysconfdir}/pam.d/samba %attr(0755,root,root) %dir /var/log/samba -- cgit