Hello community, here is the log from the commit of package wdm for openSUSE:Factory checked in at 2017-10-13 14:20:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wdm (Old) and /work/SRC/openSUSE:Factory/.wdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wdm" Fri Oct 13 14:20:47 2017 rev:23 rq:533861 version:1.28 Changes: -------- --- /work/SRC/openSUSE:Factory/wdm/wdm.changes 2013-01-24 15:45:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.wdm.new/wdm.changes 2017-10-13 14:21:05.935008408 +0200 @@ -1,0 +2,7 @@ +Thu Oct 12 14:44:35 UTC 2017 - [email protected] + +- Have update-alternatives handle Xinit's integration of the + displaymanager, replacing /etc/sysconfig/displaymanager + (boo#1053863). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wdm.spec ++++++ --- /var/tmp/diff_new_pack.TTUYqW/_old 2017-10-13 14:21:06.650976929 +0200 +++ /var/tmp/diff_new_pack.TTUYqW/_new 2017-10-13 14:21:06.650976929 +0200 @@ -1,7 +1,7 @@ # # spec file for package wdm # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,8 +26,6 @@ BuildRequires: libselinux-devel BuildRequires: pam-devel BuildRequires: xorg-x11 -License: GPL-2.0+ -Group: System/X11/Displaymanagers Version: 1.28 Release: 0 PreReq: /etc/X11/xdm/xdm-config @@ -43,6 +41,8 @@ Url: http://voins.program.ru/wdm/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: WINGs Display Manager +License: GPL-2.0+ +Group: System/X11/Displaymanagers %description WDM is a modification and enhancement of X11's XDM that provides a more @@ -89,6 +89,17 @@ %find_lang %{name} mkdir -p %{buildroot}%{_dminitdir}/ cp %{SOURCE5} %{buildroot}%{_dminitdir}/ +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +touch %{buildroot}%{_sysconfdir}/alternatives/default-displaymanager +ln -s %{_sysconfdir}/alternatives/default-displaymanager %{buildroot}%{_libexecdir}/X11/displaymanagers/default-displaymanager + +%post +%{_sbindir}/update-alternatives --install %{_libexecdir}/X11/displaymanagers/default-displaymanager \ + default-displaymanager %{_libexecdir}/X11/displaymanagers/wdm 10 + +%postun +[ -f %{_libexecdir}/X11/displaymanagers/wdm ] || %{_sbindir}/update-alternatives \ + --remove default-displaymanager %{_libexecdir}/X11/displaymanagers/wdm %clean rm -rf $RPM_BUILD_ROOT @@ -106,5 +117,7 @@ %config %{wdmdir}/Defaults/* %config(noreplace) %{wdmdir}/wdm-config %{_dminitdir}/wdm +%{_dminitdir}/default-displaymanager +%ghost %{_sysconfdir}/alternatives/default-displaymanager %changelog
