Script 'mail_helper' called by obssrc
Hello community,

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

Package is "cinnamon-screensaver"

Sat Jan 14 20:31:45 2023 rev:24 rq:1058311 version:5.6.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/cinnamon-screensaver/cinnamon-screensaver.changes    
    2022-12-06 14:23:38.813765709 +0100
+++ 
/work/SRC/openSUSE:Factory/.cinnamon-screensaver.new.32243/cinnamon-screensaver.changes
     2023-01-14 20:31:58.589304551 +0100
@@ -1,0 +2,5 @@
+Thu Jan 12 17:20:42 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cinnamon-screensaver.spec ++++++
--- /var/tmp/diff_new_pack.X5YbNN/_old  2023-01-14 20:31:59.113307645 +0100
+++ /var/tmp/diff_new_pack.X5YbNN/_new  2023-01-14 20:31:59.121307693 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cinnamon-screensaver
 #
-# 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
@@ -87,6 +87,23 @@
 chmod a-x %{buildroot}%{_datadir}/%{name}/__init__.py
 chmod a-x %{buildroot}%{_datadir}/%{name}/*/__init__.py
 
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+mv %{buildroot}%{_sysconfdir}/pam.d/cinnamon-screensaver 
%{buildroot}%{_pam_vendordir}
+
+%pre
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/cinnamon-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/cinnamon-screensaver ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
+
 %post
 /sbin/ldconfig
 %if 0%{?suse_version} < 1500
@@ -104,7 +121,11 @@
 %files
 %license COPYING*
 %doc AUTHORS README.md debian/changelog
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/cinnamon-screensaver
+%else
 %config %{_sysconfdir}/pam.d/cinnamon-screensaver
+%endif
 %{_bindir}/%{name}
 %{_bindir}/%{name}-command
 %{_libexecdir}/cs-backup-locker

Reply via email to