Script 'mail_helper' called by obssrc
Hello community,

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

Package is "xpra"

Wed Feb  1 16:39:17 2023 rev:52 rq:1062338 version:5.0+git20221127.3e61ef1c

Changes:
--------
--- /work/SRC/openSUSE:Factory/xpra/xpra.changes        2022-12-07 
17:36:21.364996142 +0100
+++ /work/SRC/openSUSE:Factory/.xpra.new.32243/xpra.changes     2023-02-01 
16:40:45.834266729 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 14:21:33 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xpra.spec ++++++
--- /var/tmp/diff_new_pack.J8Uys2/_old  2023-02-01 16:40:46.450270747 +0100
+++ /var/tmp/diff_new_pack.J8Uys2/_new  2023-02-01 16:40:46.454270773 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xpra
 #
-# 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
@@ -90,6 +90,8 @@
 #BuildRequires:  pkgconfig(pam)
 #BuildRequires:  pkgconfig(pam_misc)
 BuildRequires:  pkgconfig(py3cairo)
+BuildRequires:  procps-devel
+BuildRequires:  qrencode-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(vpx) >= 1.4.0
 BuildRequires:  pkgconfig(xcomposite)
@@ -98,8 +100,6 @@
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xres)
 BuildRequires:  pkgconfig(xtst)
-BuildRequires:  procps-devel
-BuildRequires:  qrencode-devel
 Requires:       dbus-1-x11
 Requires:       gstreamer-plugins-base
 Requires:       gstreamer-plugins-good
@@ -230,6 +230,11 @@
 mkdir -pv %{buildroot}%{_sbindir}
 ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+mv %{buildroot}%{_sysconfdir}/pam.d/xpra %{buildroot}%{_pam_vendordir}
+%endif
+
 %fdupes -s %{buildroot}
 
 %pre
@@ -237,6 +242,18 @@
 mkdir -p %{_rundir}/%{name} || exit 1
 %service_add_pre %{name}.service
 %service_add_pre %{name}.socket
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/xpra ; 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/xpra ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %post
 %service_add_post %{name}.service
@@ -259,15 +276,19 @@
 %endif
 %license COPYING
 %dir %{_datadir}/xpra
-%dir %{_sysconfdir}/pam.d
 %dir %{_sysconfdir}/xpra
 %dir %{_sysconfdir}/xpra/conf.d
 %dir %{_sysconfdir}/xpra/content-categories
 %dir %{_sysconfdir}/xpra/content-parent
 %dir %{_sysconfdir}/xpra/content-type
 %dir %{_sysconfdir}/xpra/http-headers
-%config(noreplace) %{_sysconfdir}/dbus-1/system.d/xpra.conf
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/xpra
+%else
+%dir %{_sysconfdir}/pam.d
 %config(noreplace) %{_sysconfdir}/pam.d/xpra
+%endif
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/xpra.conf
 %config(noreplace) %{_sysconfdir}/xpra/*.conf
 %config(noreplace) %{_sysconfdir}/xpra/conf.d/*.conf
 %config(noreplace) %{_sysconfdir}/xpra/content-categories/*.conf

Reply via email to