Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kvm_stat for openSUSE:Factory 
checked in at 2022-06-21 16:33:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old)
 and      /work/SRC/openSUSE:Factory/.kvm_stat.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kvm_stat"

Tue Jun 21 16:33:09 2022 rev:19 rq:984176 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes        2021-07-24 
20:39:19.284403872 +0200
+++ /work/SRC/openSUSE:Factory/.kvm_stat.new.1548/kvm_stat.changes      
2022-06-21 16:33:18.123889490 +0200
@@ -1,0 +2,6 @@
+Tue Jun 21 12:31:22 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:
------------------
++++++ kvm_stat.spec ++++++
--- /var/tmp/diff_new_pack.yiqCSR/_old  2022-06-21 16:33:18.651890265 +0200
+++ /var/tmp/diff_new_pack.yiqCSR/_new  2022-06-21 16:33:18.655890271 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kvm_stat
 #
-# 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
@@ -93,7 +93,12 @@
 # OBS checks don't like /usr/bin/env in script interpreter lines
 sed -re '1 { s_^#! */usr/bin/env +/_#!/_ ; s_^#! */usr/bin/env 
+([^/])_#!/usr/bin/\1_ }' -i "tools/kvm/kvm_stat/kvm_stat"
 make -C tools kvm_stat_install INSTALL_ROOT=%{buildroot}
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
+install -D -m 644 %{SOURCE1} %{buildroot}%{_distconfdir}/logrotate.d/kvm_stat
+%else
 install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/kvm_stat
+%endif
 install -D -m 644 tools/kvm/kvm_stat/kvm_stat.service 
%{buildroot}%{_unitdir}/kvm_stat.service
 install -d %{buildroot}%{_sbindir}
 ln -sf service %{buildroot}%{_sbindir}/rckvm_stat
@@ -114,7 +119,11 @@
 %defattr(-, root, root)
 %license COPYING
 %{_unitdir}/kvm_stat.service
+%if 0%{?suse_version} > 1500
+%{_distconfdir}/logrotate.d/kvm_stat
+%else
 %config(noreplace) %{_sysconfdir}/logrotate.d/kvm_stat
+%endif
 %{_sbindir}/rckvm_stat
 %{_bindir}/kvm_stat
 %{_mandir}/man1/kvm_stat*

Reply via email to