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-09-02 21:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old)
 and      /work/SRC/openSUSE:Factory/.kvm_stat.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kvm_stat"

Fri Sep  2 21:56:54 2022 rev:20 rq:1000889 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes        2022-06-21 
16:33:18.123889490 +0200
+++ /work/SRC/openSUSE:Factory/.kvm_stat.new.2083/kvm_stat.changes      
2022-09-02 21:57:17.668405608 +0200
@@ -1,0 +2,6 @@
+Wed Aug 31 13:38:21 UTC 2022 - Stefan Schubert <schubi@intern>
+
+- Migration to /usr/etc: Saving user changed configuration files
+  in /etc and restoring them while an RPM update.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ kvm_stat.spec ++++++
--- /var/tmp/diff_new_pack.G945i0/_old  2022-09-02 21:57:18.104406664 +0200
+++ /var/tmp/diff_new_pack.G945i0/_new  2022-09-02 21:57:18.108406673 +0200
@@ -105,6 +105,20 @@
 
 %pre
 %service_add_pre kvm_stat.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in logrotate.d/kvm_stat ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
+
+%if 0%{?suse_version} > 1500
+%posttrans
+# Migration to /usr/etc, restore just created .rpmsave
+for i in logrotate.d/kvm_stat ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %post
 %service_add_post kvm_stat.service

Reply via email to