Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Bootloader for openSUSE:Factory
checked in at 2022-07-07 12:56:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old)
and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Bootloader"
Thu Jul 7 12:56:25 2022 rev:200 rq:987160 version:0.939
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes
2022-04-30 00:45:46.222963500 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Bootloader.new.1523/perl-Bootloader.changes
2022-07-07 12:56:39.343259980 +0200
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Mon Jun 20 12:41:29 UTC 2022 - Stefan Schubert <[email protected]>
+
+- Moved logrotate files from user specific directory /etc/logrotate.d
+ to vendor specific directory /usr/etc/logrotate.d.
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Bootloader.spec ++++++
--- /var/tmp/diff_new_pack.lPMXRt/_old 2022-07-07 12:56:39.931260856 +0200
+++ /var/tmp/diff_new_pack.lPMXRt/_new 2022-07-07 12:56:39.935260862 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Bootloader
#
-# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -52,7 +52,6 @@
%description YAML
A command line interface to perl-Bootloader using YAML files for input and
output.
-
%prep
%setup -q
@@ -89,6 +88,11 @@
sed -i '/ZIPL/D;/PowerLILO/D;/\/LILO/D;/GRUB/D;'
$RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
%endif
%endif
+# move logrotate files from /etc/logrotate.d to /usr/etc/logrotate.d
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
+mv %{buildroot}/%{_sysconfdir}/logrotate.d/pbl
%{buildroot}%{_distconfdir}/logrotate.d
+%endif
%post
echo -n >>/var/log/pbl.log
@@ -107,7 +111,11 @@
/sbin/pbl
/usr/lib/bootloader
/boot/boot.readme
-/etc/logrotate.d/pbl
+%if 0%{?suse_version} > 1500
+%{_distconfdir}/logrotate.d/pbl
+%else
+%config(noreplace) %{_sysconfdir}/logrotate.d/pbl
+%endif
%dir %attr(0700,root,root) /var/log/YaST2
%ghost %attr(0600,root,root) /var/log/pbl.log