Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package greetd for openSUSE:Factory checked 
in at 2022-03-24 22:58:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/greetd (Old)
 and      /work/SRC/openSUSE:Factory/.greetd.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "greetd"

Thu Mar 24 22:58:31 2022 rev:9 rq:964668 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/greetd/greetd.changes    2022-01-07 
12:48:11.491920880 +0100
+++ /work/SRC/openSUSE:Factory/.greetd.new.1900/greetd.changes  2022-03-24 
23:00:43.656408495 +0100
@@ -1,0 +2,13 @@
+Wed Mar 23 07:33:52 UTC 2022 - Franck Bui <[email protected]>
+
+- spec: /etc/pam.d/greetd should be %config(noreplace) on SLE
+
+-------------------------------------------------------------------
+Mon Mar 14 15:41:18 UTC 2022 - Franck Bui <[email protected]>
+
+- spec: don't directly use %{_distconfdir}, it's broken on SLE
+
+  We should instead make use of %_pam_vendordir but its definition is also
+  broken on SLE... hence let define our own macro for now.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ greetd.spec ++++++
--- /var/tmp/diff_new_pack.3PBKm7/_old  2022-03-24 23:00:44.276409094 +0100
+++ /var/tmp/diff_new_pack.3PBKm7/_new  2022-03-24 23:00:44.280409098 +0100
@@ -16,6 +16,13 @@
 #
 
 
+%if 0%{?suse_version} >= 1550
+  %define _config_norepl %nil
+%else
+  %define _pam_vendordir %{_sysconfdir}/pam.d
+  %define _config_norepl %config(noreplace)
+%endif
+
 Name:           greetd
 Version:        0.8.0
 Release:        0
@@ -61,7 +68,7 @@
 
 install -D -m 0644 %{name}.service %{buildroot}/%{_unitdir}/%{name}.service
 
-install -D -m 0644 %{SOURCE3} %{buildroot}/%{_distconfdir}/pam.d/greetd
+install -D -m 0644 %{SOURCE3} %{buildroot}/%{_pam_vendordir}/greetd
 
 install -d %{buildroot}%{_localstatedir}/cache/greetd
 install -d %{buildroot}%{_localstatedir}/lib/greetd
@@ -91,7 +98,7 @@
 %{_unitdir}/%{name}.service
 %dir %{_sysconfdir}/%{name}
 %attr(644,greeter,greeter) %config(noreplace) 
%{_sysconfdir}/%{name}/config.toml
-%{_distconfdir}/pam.d/greetd
+%_config_norepl %{_pam_vendordir}/greetd
 %ghost %attr(711,root,greeter) %dir /run/greetd/
 %ghost %attr(750,greeter,greeter) %dir %{_localstatedir}/lib/greetd/
 %ghost %dir %{_localstatedir}/cache/greetd/

Reply via email to