Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package at for openSUSE:Factory checked in at 2023-01-05 14:59:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/at (Old) and /work/SRC/openSUSE:Factory/.at.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "at" Thu Jan 5 14:59:52 2023 rev:85 rq:1048506 version:3.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/at/at.changes 2022-05-20 17:50:07.739193849 +0200 +++ /work/SRC/openSUSE:Factory/.at.new.1563/at.changes 2023-01-05 14:59:55.640771612 +0100 @@ -1,0 +2,5 @@ +Tue Dec 27 13:35:20 UTC 2022 - Stefan Schubert <sch...@suse.com> + +- Migration of PAM settings to /usr/lib/pam.d + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ at.spec ++++++ --- /var/tmp/diff_new_pack.VN2iwC/_old 2023-01-05 14:59:56.244771126 +0100 +++ /var/tmp/diff_new_pack.VN2iwC/_new 2023-01-05 14:59:56.248771122 +0100 @@ -83,7 +83,11 @@ %sysusers_generate_pre %{SOURCE6} at system-user-at.conf %install +%if 0%{?suse_version} > 1500 +install -d %{buildroot}{%{_pam_vendordir},%{_bindir},%{_sbindir},%{_mandir}/man{1,5,8},%{_fillupdir}} +%else install -d %{buildroot}{%{_sysconfdir}/pam.d,%{_bindir},%{_sbindir},%{_mandir}/man{1,5,8},%{_fillupdir}} +%endif export CFLAGS="%{?optflags}" export SENDMAIL=%{_sbindir}/sendmail @@ -97,7 +101,11 @@ install -D -m 0644 %{SOURCE5} %{buildroot}%{_unitdir}/atd.service ln -s service %{buildroot}%{_sbindir}/rcatd +%if 0%{?suse_version} > 1500 +install -m644 %{SOURCE2} %{buildroot}%{_pam_vendordir}/atd +%else install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/atd +%endif install -m644 %{SOURCE3} %{buildroot}%{_fillupdir} mkdir -p %{buildroot}%{_sysusersdir} @@ -105,6 +113,12 @@ %pre -f at.pre %service_add_pre atd.service +%if 0%{?suse_version} > 1500 +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in pam.d/atd ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: +done +%endif %preun %service_del_preun atd.service @@ -120,12 +134,24 @@ %postun %service_del_postun atd.service +%if 0%{?suse_version} > 1500 +%posttrans +# Migration to /usr/etc, restore just created .rpmsave +for i in pam.d/atd ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif + %files %doc Problems README ChangeLog timespec %license COPYING Copyright %config(noreplace) %{_sysconfdir}/at.deny %{_sbindir}/rcatd +%if 0%{?suse_version} > 1500 +%attr(644,root,root) %{_pam_vendordir}/atd +%else %config %attr(644,root,root) %{_sysconfdir}/pam.d/atd +%endif %verify(not mode) %attr(4750,root,trusted) %{_bindir}/at %{_bindir}/atq %{_bindir}/atrm