ref: refs/heads/SuSE-Linux-11_0-Branch
commit 805147cef1a862dc00eaad7888adb797a439ae52
Author: Jan Kupec
Date: Fri Jul 11 13:49:34 2008 +0000
- zypp-refresh.lr added
---
src/CMakeLists.txt | 2 +-
src/zypp-refresh.lr | 11 +++++++++++
zypper.spec.cmake | 1 +
3 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 205977f..0e524d0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -125,7 +125,7 @@ INSTALL(
# logrotate config file
INSTALL(
- FILES zypper.lr
+ FILES zypper.lr zypp-refresh.lr
DESTINATION ${SYSCONFDIR}/logrotate.d
)
diff --git a/src/zypp-refresh.lr b/src/zypp-refresh.lr
new file mode 100755
index 0000000..eb13c0c
--- /dev/null
+++ b/src/zypp-refresh.lr
@@ -0,0 +1,11 @@
+/var/log/zypp-refresh.log {
+ compress
+ dateext
+ notifempty
+ missingok
+ nocreate
+
+ maxage 60
+ rotate 99
+ size 10M
+}
diff --git a/zypper.spec.cmake b/zypper.spec.cmake
index 75a02fc..b9a3943 100644
--- a/zypper.spec.cmake
+++ b/zypper.spec.cmake
@@ -85,6 +85,7 @@ touch %buildroot%_var/log/zypper.log
%files -f zypper.lang
%defattr(-,root,root)
%{_sysconfdir}/logrotate.d/zypper.lr
+%{_sysconfdir}/logrotate.d/zypp-refresh.lr
%{_sysconfdir}/bash_completion.d/zypper.sh
%{_bindir}/zypper
%{_bindir}/installation_sources
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org