From 93d76b8c4c8572cd31d8784d3c693e21cd950e27 Mon Sep 17 00:00:00 2001
From: Marcin Krol <hawk@tld-linux.org>
Date: Wed, 11 Jul 2018 16:29:15 +0000
Subject: [PATCH] - keep 52 weeks (one year) of logs by default - cosmetics

---
 logrotate.conf | 8 ++++----
 logrotate.spec | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/logrotate.conf b/logrotate.conf
index cbe7508..b61bf4b 100644
--- a/logrotate.conf
+++ b/logrotate.conf
@@ -2,8 +2,8 @@
 # Rotate log files weekly.
 weekly
 
-# Keep 10 weeks worth of backlogs.
-rotate 10
+# Keep 52 weeks (one year) worth of backlogs.
+rotate 52
 
 # Rotate logs when they grow bigger than 100kB
 minsize 100k
@@ -14,13 +14,13 @@ nomail
 # Create new (empty) log files after rotating old ones.
 create 640 root logs
 
-# use date as a suffix of the rotated file
+# Use date as a suffix of the rotated file.
 dateext
 
 # Uncomment this if you want your log files compressed.
 compress
 
-# Postpone compression of the previous log file to the next rotation cycle.
+# Do not postpone compression of the previous log.
 nodelaycompress
 
 # If the log file is missing, go on to the next one without issuing
diff --git a/logrotate.spec b/logrotate.spec
index 778b967..2465a7f 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -20,7 +20,7 @@ Summary(tr.UTF-8):	Sistem günlüklerini yönlendirir, sıkıştırır ve mektup
 Summary(uk.UTF-8):	Ротує, компресує, видаляє та відправляє поштою лог-файли
 Name:		logrotate
 Version:	3.14.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications/System
 Source0:	https://github.com/logrotate/logrotate/releases/download/%{version}/%{name}-%{version}.tar.xz
-- 
2.49.0