Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package atftp for openSUSE:Factory checked 
in at 2022-06-30 13:17:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/atftp (Old)
 and      /work/SRC/openSUSE:Factory/.atftp.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "atftp"

Thu Jun 30 13:17:54 2022 rev:42 rq:985718 version:0.7.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/atftp/atftp.changes      2021-09-25 
00:35:33.511139660 +0200
+++ /work/SRC/openSUSE:Factory/.atftp.new.1548/atftp.changes    2022-06-30 
13:17:57.745515391 +0200
@@ -1,0 +2,6 @@
+Tue Jun 28 14:08:19 UTC 2022 - Stefan Schubert <schubi@intern>
+
+- Moved logrotate files from user specific directory /etc/logrotate.d
+  to vendor specific directory /usr/etc/logrotate.d. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ atftp.spec ++++++
--- /var/tmp/diff_new_pack.0JHqNR/_old  2022-06-30 13:17:58.245515767 +0200
+++ /var/tmp/diff_new_pack.0JHqNR/_new  2022-06-30 13:17:58.249515769 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package atftp
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -77,7 +77,12 @@
 install -D -m 0644 %{SOURCE6} %{buildroot}/%{_unitdir}/atftpd.socket
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcatftpd
 install -D -m 0644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.atftpd
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
+install -D -m 0644 %{SOURCE3} %{buildroot}%{_distconfdir}/logrotate.d/%{name}
+%else
 install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
+%endif
 install -d -m 0755 %{buildroot}/srv/tftpboot
 install -d -m 0750 %{buildroot}%{_localstatedir}/log/atftpd
 
@@ -109,7 +114,11 @@
 %{_sbindir}/rcatftpd
 %{_unitdir}/atftpd.service
 %{_unitdir}/atftpd.socket
-%config %{_sysconfdir}/logrotate.d/%{name}
+%if 0%{?suse_version} > 1500
+%{_distconfdir}/logrotate.d/%{name}
+%else
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%endif
 %{_fillupdir}/sysconfig.atftpd
 %{_mandir}/man1/atftp.1.gz
 %{_mandir}/man8/atftpd.8.gz

Reply via email to