Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openwsman for openSUSE:Factory 
checked in at 2023-01-16 17:59:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openwsman (Old)
 and      /work/SRC/openSUSE:Factory/.openwsman.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openwsman"

Mon Jan 16 17:59:43 2023 rev:76 rq:1058660 version:2.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes      2022-12-29 
13:09:44.869159706 +0100
+++ /work/SRC/openSUSE:Factory/.openwsman.new.32243/openwsman.changes   
2023-01-16 18:02:20.811971989 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 08:48:23 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.7LhdPQ/_old  2023-01-16 18:02:21.503975682 +0100
+++ /var/tmp/diff_new_pack.7LhdPQ/_new  2023-01-16 18:02:21.511975724 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openwsman
 #
-# 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
@@ -463,6 +463,10 @@
 install -m 644 etc/openwsman_client.conf %{buildroot}/%{_sysconfdir}/openwsman
 install -m 644 etc/ssleay.cnf %{buildroot}/%{_sysconfdir}/openwsman
 install -m 644 %{pamfile} %{buildroot}/%{_sysconfdir}/pam.d/openwsman
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+mv %{buildroot}/%{_sysconfdir}/pam.d/openwsman %{buildroot}/%{_pam_vendordir}
+%endif
 %if 0%{?rhel_version} == 700
 rm -f %{buildroot}/%{_bindir}/winrs
 %endif
@@ -473,12 +477,24 @@
 %post -n libwsman_client5 -p /sbin/ldconfig
 %postun -n libwsman_client5 -p /sbin/ldconfig
 
-%if 0%{?has_systemd}
 %pre server
+%if 0%{?has_systemd}
 if [ -f /var/lib/systemd/migrated/%{name} ]; then
 %service_add_pre %{name}.service
 fi
 %endif
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/openwsman ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans server
+# Migration to /usr/lib, restore just created .rpmsave
+for i in pam.d/openwsman ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %post server
 /sbin/ldconfig
@@ -600,7 +616,11 @@
 %config(noreplace) %{_sysconfdir}/openwsman/openwsman.conf
 %config(noreplace) %{_sysconfdir}/openwsman/ssleay.cnf
 %attr(0755,root,root) %{_sysconfdir}/openwsman/owsmangencert.sh
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/openwsman
+%else
 %config %{_sysconfdir}/pam.d/openwsman
+%endif
 %if 0%{?has_firewalld}
 %dir %{_prefix}/lib/firewalld
 %dir %{_prefix}/lib/firewalld/services

Reply via email to