Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xfce4-screensaver for 
openSUSE:Factory checked in at 2023-01-14 00:02:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-screensaver (Old)
 and      /work/SRC/openSUSE:Factory/.xfce4-screensaver.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfce4-screensaver"

Sat Jan 14 00:02:34 2023 rev:11 rq:1058077 version:4.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xfce4-screensaver/xfce4-screensaver.changes      
2021-01-18 11:32:27.936691167 +0100
+++ 
/work/SRC/openSUSE:Factory/.xfce4-screensaver.new.32243/xfce4-screensaver.changes
   2023-01-14 00:02:59.321630852 +0100
@@ -1,0 +2,5 @@
+Tue Jan  3 14:52:51 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xfce4-screensaver.spec ++++++
--- /var/tmp/diff_new_pack.ParQh5/_old  2023-01-14 00:03:00.025634952 +0100
+++ /var/tmp/diff_new_pack.ParQh5/_new  2023-01-14 00:03:00.029634975 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xfce4-screensaver
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -86,6 +86,24 @@
 %install
 %make_install
 %find_lang %{name}
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+mv %{buildroot}%{_sysconfdir}/pam.d/xfce4-screensaver 
%{buildroot}%{_pam_vendordir}
+%endif
+
+%if 0%{?suse_version} > 1500
+%pre
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/xfce4-screensaver ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans
+# Migration to /usr/lib, restore just created .rpmsave
+for i in pam.d/xfce4-screensaver ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %files -f  %{name}.lang
 %license COPYING COPYING.LGPL COPYING.LIB
@@ -101,7 +119,11 @@
 %dir %{_libexecdir}/xfce4-screensaver/
 %config %{_sysconfdir}/xdg/autostart/xfce4-screensaver.desktop
 %config %{_sysconfdir}/xdg/menus/xfce4-screensavers.menu
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/xfce4-screensaver
+%else
 %config %{_sysconfdir}/pam.d/xfce4-screensaver
+%endif
 %{_bindir}/xfce4-screensaver
 %{_bindir}/xfce4-screensaver-command
 %{_bindir}/xfce4-screensaver-configure

Reply via email to