Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package enlightenment for openSUSE:Factory checked in at 2023-01-24 19:43:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/enlightenment (Old) and /work/SRC/openSUSE:Factory/.enlightenment.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "enlightenment" Tue Jan 24 19:43:15 2023 rev:41 rq:1060532 version:0.25.4 Changes: -------- --- /work/SRC/openSUSE:Factory/enlightenment/enlightenment.changes 2022-09-27 20:13:40.985794253 +0200 +++ /work/SRC/openSUSE:Factory/.enlightenment.new.32243/enlightenment.changes 2023-01-24 20:19:28.884225694 +0100 @@ -1,0 +2,5 @@ +Fri Jan 13 08:52:33 UTC 2023 - Stefan Schubert <sch...@suse.com> + +- Migration of PAM settings to /usr/lib/pam.d. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ enlightenment.spec ++++++ --- /var/tmp/diff_new_pack.6TVGaw/_old 2023-01-24 20:19:30.920236199 +0100 +++ /var/tmp/diff_new_pack.6TVGaw/_new 2023-01-24 20:19:30.924236219 +0100 @@ -1,7 +1,7 @@ # # spec file for package enlightenment # -# 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 @@ -272,8 +272,13 @@ %endif # copy PAM profile +%if 0%{?suse_version} > 1500 +mkdir -p %{buildroot}%{_pam_vendordir} +cp %{SOURCE2} %{buildroot}%{_pam_vendordir}/enlightenment +%else mkdir -p %{buildroot}%{_sysconfdir}/pam.d cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/enlightenment +%endif # Install correct openSUSE rules for system.conf mkdir -p %{buildroot}/%{_datadir}/%{name}/doc/ @@ -323,6 +328,20 @@ %endif +%if 0%{?suse_version} > 1500 +%pre +# Prepare for migration to /usr/lib; save any old .rpmsave +for i in pam.d/enlightenment ; 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/enlightenment ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif + %files -f enlightenment.lang %defattr(-,root,root) %license COPYING README AUTHORS @@ -344,7 +363,11 @@ %{_libdir}/enlightenment %verify(not user group mode) %attr(4755,root,root) %{_libdir}/enlightenment/utils/enlightenment_system %config(noreplace) %{_sysconfdir}/enlightenment +%if 0%{?suse_version} > 1500 +%{_pam_vendordir}/enlightenment +%else %config(noreplace) %{_sysconfdir}/pam.d/enlightenment +%endif %dir %{_sysconfdir}/xdg/menus %config %{_sysconfdir}/xdg/menus/e-applications.menu %{_bindir}/enlightenment*