From a50f78ccd58f4e1584fc508a0251ed070265e42e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 5 Nov 2012 11:44:16 +0100 Subject: [PATCH] Update spec file --- smeserver-samba-db-logd.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/smeserver-samba-db-logd.spec b/smeserver-samba-db-logd.spec index eb37139..116cd5b 100644 --- a/smeserver-samba-db-logd.spec +++ b/smeserver-samba-db-logd.spec @@ -1,4 +1,4 @@ -%define version 0.1.2 +%define version 0.1.3 %define release 1 %define name smeserver-samba-db-logd @@ -23,6 +23,10 @@ Requires: perl(DBI) Log samba events in a MySQL database %changelog +* Mon Nov 5 2012 Daniel Berteaud 0.1.3-1 +- Don't rotate tables, just remove old entries +- Fix line parsing when day < 10 + * Fri Oct 19 2012 Daniel Berteaud 0.1.2-1 - Skip opendir lines as they are flooding logs - Support more actions in log parser @@ -52,7 +56,7 @@ perl createlinks --file /usr/bin/samba-db-logd 'attr(0755,root,root)' \ --file /var/service/samba-db-logd/run 'attr(0755,root,root)' \ --file /var/service/samba-db-logd/log/run 'attr(0755,root,root)' \ - --file /etc/cron.monthly/samba-log-rotate 'attr(0755,root,root)' \ + --file /etc/cron.daily/samba-db-cleanup 'attr(0755,root,root)' \ > %{name}-%{version}-filelist echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist