Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xscreensaver for openSUSE:Factory 
checked in at 2023-01-05 14:59:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xscreensaver (Old)
 and      /work/SRC/openSUSE:Factory/.xscreensaver.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xscreensaver"

Thu Jan  5 14:59:53 2023 rev:73 rq:1054067 version:6.06

Changes:
--------
--- /work/SRC/openSUSE:Factory/xscreensaver/xscreensaver.changes        
2022-12-16 17:51:01.931813072 +0100
+++ /work/SRC/openSUSE:Factory/.xscreensaver.new.1563/xscreensaver.changes      
2023-01-05 14:59:57.648769997 +0100
@@ -1,0 +2,5 @@
+Wed Jan  4 10:18:11 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xscreensaver.spec ++++++
--- /var/tmp/diff_new_pack.mucFQy/_old  2023-01-05 14:59:58.404769389 +0100
+++ /var/tmp/diff_new_pack.mucFQy/_new  2023-01-05 14:59:58.408769386 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xscreensaver
 #
-# Copyright (c) 2022 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
@@ -222,7 +222,12 @@
 chmod 0755 %{buildroot}%{_bindir}/xscreensaver
 #
 # PAM config.
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+install -Dm 0644 %{SOURCE1} %{buildroot}%{_pam_vendordir}/xscreensaver
+%else
 install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xscreensaver
+%endif
 #
 # Language files.
 %find_lang %{name}
@@ -251,6 +256,20 @@
     echo "%{_libexecdir}/xscreensaver/$hack" >> %{name}-data-extra.lst
 done
 
+%if 0%{?suse_version} > 1500
+%pre
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/xscreensaver ; 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/xscreensaver ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
+
 %files
 %doc README
 %{_bindir}/xscreensaver
@@ -278,7 +297,11 @@
 %{_mandir}/man6/xscreensaver-gfx.*
 %{_mandir}/man6/xscreensaver-gl-visual.*
 %{_mandir}/man6/xscreensaver-systemd.*
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/xscreensaver
+%else
 %config %{_sysconfdir}/pam.d/xscreensaver
+%endif
 %dir %{_sysconfdir}/xscreensaver/
 %config %{_sysconfdir}/xscreensaver/README
 

Reply via email to