Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package open-vm-tools for openSUSE:Factory checked in at 2022-12-31 11:22:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-vm-tools (Old)
and /work/SRC/openSUSE:Factory/.open-vm-tools.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-vm-tools"
Sat Dec 31 11:22:52 2022 rev:108 rq:1045819 version:12.1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/open-vm-tools/open-vm-tools.changes 2022-12-16 17:50:56.675784143 +0100
+++ /work/SRC/openSUSE:Factory/.open-vm-tools.new.1563/open-vm-tools.changes 2022-12-31 11:22:54.568452595 +0100
@@ -1,0 +2,5 @@
+Wed Dec 28 08:18:43 UTC 2022 - Stefan Schubert <schubi(a)suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ open-vm-tools.spec ++++++
--- /var/tmp/diff_new_pack.Wiz66g/_old 2022-12-31 11:22:55.084455685 +0100
+++ /var/tmp/diff_new_pack.Wiz66g/_new 2022-12-31 11:22:55.088455709 +0100
@@ -311,6 +311,10 @@
# Remove exec bit from config files
chmod a-x %{buildroot}%{_sysconfdir}/pam.d/*
+%if 0%{?suse_version} > 1500
+install -d %{buildroot}%{_pam_vendordir}
+mv %{buildroot}%{_sysconfdir}/pam.d/vmtoolsd %{buildroot}%{_pam_vendordir}
+%endif
# Remove unnecessary files from packaging
find %{buildroot}%{_libdir} -name '*.la' -delete
@@ -364,6 +368,18 @@
%service_add_pre vmtoolsd.service
%service_add_pre vgauthd.service
%service_add_pre vmblock-fuse.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in pam.d/vmtoolsd ; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans
+# Migration to /usr/etc, restore just created .rpmsave
+for i in pam.d/vmtoolsd ; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||:
+done
+%endif
%post
/sbin/ldconfig
@@ -475,7 +491,11 @@
%{_bindir}/vmware-xferlogs
%{_bindir}/vm-support
%{_bindir}/vmware-alias-import
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/vmtoolsd
+%else
%config(noreplace) %{_sysconfdir}/pam.d/vmtoolsd
+%endif
%dir %{_sysconfdir}/vmware-tools
%dir %{_sysconfdir}/vmware-tools/scripts
%dir %{_sysconfdir}/vmware-tools/scripts/vmware