File project.diff of Package lsyncd

--- lsyncd.changes.orig
+++ lsyncd.changes
@@ -1,4 +1,15 @@
 -------------------------------------------------------------------
+Wed May  8 08:27:03 UTC 2024 - stefan.seyfried@sap.com
+
+- improve logrotate config
+
+-------------------------------------------------------------------
+Fri Apr 19 12:35:00 UTC 2024 - stefan.seyfried@sap.com
+
+- add lsyncd-issue686-fix-memleak.patch to fix memleak
+  https://github.com/lsyncd/lsyncd/issues/686
+
+-------------------------------------------------------------------
 Mon Mar 11 06:55:44 UTC 2024 - seife+obs@b1-systems.com
 
 - fix tarball to match the source URL
--- lsyncd.logrotate.orig
+++ lsyncd.logrotate
@@ -1,5 +1,11 @@
 /var/log/lsyncd/*log {
+	compress
+	dateext
+	dateformat -%Y%m%d%H
+	maxage 30
+	rotate 10
+	size 10240k
 	missingok
 	notifempty
-	sharedscripts
+	copytruncate
 }
--- lsyncd.spec.orig
+++ lsyncd.spec
@@ -33,6 +33,7 @@ Source2:        rsync_sudo.sh
 Source3:        %{name}.service
 Source4:        %{name}.sysconfig
 Source5:        %{name}.logrotate
+Patch1:         %{name}-issue686-fix-memleak.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.5
 BuildRequires:  gcc-c++
openSUSE Build Service is sponsored by