Hello community,

here is the log from the commit of package rsnapshot for openSUSE:Factory 
checked in at 2015-10-06 13:26:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rsnapshot (Old)
 and      /work/SRC/openSUSE:Factory/.rsnapshot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rsnapshot"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rsnapshot/rsnapshot.changes      2015-09-27 
08:39:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rsnapshot.new/rsnapshot.changes 2015-10-06 
13:26:07.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Oct  2 18:38:17 UTC 2015 - [email protected]
+
+- add logrotate config and dependency for /var/log/rsnapshot
+
+-------------------------------------------------------------------

New:
----
  rsnapshot.logrotate

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rsnapshot.spec ++++++
--- /var/tmp/diff_new_pack.u4gacw/_old  2015-10-06 13:26:08.000000000 +0200
+++ /var/tmp/diff_new_pack.u4gacw/_new  2015-10-06 13:26:08.000000000 +0200
@@ -24,10 +24,13 @@
 Group:          Productivity/Archiving/Backup
 Url:            http://www.rsnapshot.org/
 Source0:        http://rsnapshot.org/downloads/%{name}-%{version}.tar.gz
+Source1:        rsnapshot.logrotate
 Patch1:         rsnapshot-config.patch
+BuildRequires:  logrotate
 BuildRequires:  openssh
 BuildRequires:  perl
 BuildRequires:  rsync
+Requires:       logrotate
 Requires:       openssh
 Requires:       perl
 Requires:       rsync
@@ -67,6 +70,7 @@
 install -d "%{buildroot}/%{_sysconfdir}"
 install -m 644 rsnapshot.conf.default 
"%{buildroot}/%{_sysconfdir}/rsnapshot.conf.default"
 install -m 600 rsnapshot.conf.default 
"%{buildroot}/%{_sysconfdir}/rsnapshot.conf"
+install -m 644 -D %{S:1} "%{buildroot}/%{_sysconfdir}/logrotate.d/rsnapshot"
 
 %files
 %defattr(-,root,root)
@@ -75,6 +79,7 @@
 %{_bindir}/rsnapshot-diff
 %config(noreplace) %{_sysconfdir}/rsnapshot.conf
 %config %{_sysconfdir}/rsnapshot.conf.default
+%config(noreplace) %{_sysconfdir}/logrotate.d/rsnapshot
 %{_mandir}/man1/rsnapshot.1.gz
 %{_mandir}/man1/rsnapshot-diff.1.gz
 

++++++ rsnapshot.logrotate ++++++
/var/log/rsnapshot {
    compress
    dateext
    maxage 365
    rotate 99
    size=+1024k
    notifempty
    missingok
    copytruncate
}


Reply via email to