From: Arkadiusz Miƛkiewicz Date: Thu, 2 Feb 2006 07:55:26 +0000 (+0000) Subject: - log dir added X-Git-Tag: auto/ti/dspam-3_8_0-0_1~28 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdspam.git;a=commitdiff_plain;h=3a63f11202563a7abad66e6447f0cf8e20dfe149;hp=2e6afeac4b490c38116b53f8b4716d57787c9842 - log dir added Changed files: dspam.spec -> 1.53 --- diff --git a/dspam.spec b/dspam.spec index 9a3b35c..e0aa305 100644 --- a/dspam.spec +++ b/dspam.spec @@ -281,8 +281,11 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{var/run/dspam,/etc/{rc.d/init.d,sysconfig}} install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dspam +# +ln -s /var/log/dspam $RPM_BUILD_ROOT/var/lib/%{name}/log + # install devel files -install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},/var/lib/%{name}} +install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},/var/{log,lib}/%{name}} install src/*.h $RPM_BUILD_ROOT%{_includedir}/%{name} # provide maintenance scripts @@ -393,6 +396,7 @@ fi %doc doc/{courier,exim,markov,pop3filter,postfix,qmail,relay,sendmail}.txt %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dspam.conf %dir %attr(750,root,mail) /var/lib/%{name} +%dir %attr(770,root,mail) /var/log/dspam %attr(755,root,root) %config(noreplace) /etc/cron.daily/%{name} %attr(755,root,root) %{_bindir}/%{name} %attr(755,root,root) %{_bindir}/%{name}_logrotate