Hello community,

here is the log from the commit of package i3lock for openSUSE:Factory checked 
in at 2020-09-14 12:29:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/i3lock (Old)
 and      /work/SRC/openSUSE:Factory/.i3lock.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "i3lock"

Mon Sep 14 12:29:47 2020 rev:18 rq:834025 version:2.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/i3lock/i3lock.changes    2020-06-07 
21:37:54.005370550 +0200
+++ /work/SRC/openSUSE:Factory/.i3lock.new.4249/i3lock.changes  2020-09-14 
12:31:00.113200946 +0200
@@ -1,0 +2,9 @@
+Mon Sep  7 13:25:22 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Install pam configuration to /usr/etc/pam.d on suse_version >=
+  1500 (https://en.opensuse.org/openSUSE:Packaging_UsrEtc#pam.2Fpam-config).
+- Add pre/posttrans scripts to ensure user modified
+  /etc/pam.d/i3lock survives our move to /usr/etc (and user
+  modification in /etc/pam.d wins over /usr/etc/pam.d)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ i3lock.spec ++++++
--- /var/tmp/diff_new_pack.PBb1DG/_old  2020-09-14 12:31:01.177201624 +0200
+++ /var/tmp/diff_new_pack.PBb1DG/_new  2020-09-14 12:31:01.181201627 +0200
@@ -74,6 +74,21 @@
 install -D -m0644 %{name}.1 "%{buildroot}%{_mandir}/man1/%{name}.1"
 install -D -m0644 %{SOURCE2} 
%{buildroot}%{_datadir}/i3lock-xlock-compat/i3lock-icon.png
 install -m0755 %{SOURCE3} %{buildroot}/%{_bindir}/xlock
+%if 0%{?suse_version} >= 1550
+mkdir -p %{buildroot}%{_distconfdir}
+mv %{buildroot}%{_sysconfdir}/pam.d %{buildroot}%{_distconfdir}
+%endif
+
+%pre
+for i in pam.d/i3lock ; do
+  test -f /etc/${i}.rpmsave && mv -v /etc/${i}.rpmsave /etc/${i}.rpmsave.old 
||:
+done
+
+%posttrans
+# Migration to /usr/etc.
+for i in pam.d/i3lock ; do
+  test -f /etc/${i}.rpmsave && mv -v /etc/${i}.rpmsave /etc/${i} ||:
+done
 
 %files xlock-compat
 %{_bindir}/xlock
@@ -82,7 +97,11 @@
 %files
 %license LICENSE
 %doc CHANGELOG README.md
+%if 0%{?suse_version} >= 1550
+%{_distconfdir}/pam.d/%{name}
+%else
 %config(noreplace) %{_sysconfdir}/pam.d/%{name}
+%endif
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
 



Reply via email to