Hello community, here is the log from the commit of package fvwm2 for openSUSE:Factory checked in at 2018-05-29 10:30:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fvwm2 (Old) and /work/SRC/openSUSE:Factory/.fvwm2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fvwm2" Tue May 29 10:30:17 2018 rev:53 rq:610357 version:2.6.7 Changes: -------- --- /work/SRC/openSUSE:Factory/fvwm2/fvwm2.changes 2017-02-14 00:47:28.546075218 +0100 +++ /work/SRC/openSUSE:Factory/.fvwm2.new/fvwm2.changes 2018-05-29 10:30:21.912735099 +0200 @@ -1,0 +2,6 @@ +Fri May 18 13:24:18 UTC 2018 - [email protected] + +- boo#1080494: Add update-alternative configuration +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fvwm2.spec ++++++ --- /var/tmp/diff_new_pack.XBVfEO/_old 2018-05-29 10:30:23.156689146 +0200 +++ /var/tmp/diff_new_pack.XBVfEO/_new 2018-05-29 10:30:23.156689146 +0200 @@ -1,7 +1,7 @@ # # spec file for package fvwm2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,7 +20,7 @@ Version: 2.6.7 Release: 0 Summary: The F Virtual Window Manager -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/GUI/Other Url: http://www.fvwm.org Source0: fvwm-%{version}.tar.bz2 @@ -68,13 +68,14 @@ Requires: wallpaper-branding Requires: xdg-menu Requires: xli +Requires(post): update-alternatives +Requires(postun): update-alternatives Provides: fvwm Provides: fvwmicns Provides: windowmanager Provides: xpmroot Obsoletes: fvwm Obsoletes: xpmroot -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FVWM is a virtual desktop window manager for the X Window System. @@ -109,7 +110,6 @@ # build %build -%{?suse_update_config:%{suse_update_config -f}} autoreconf -fi CFLAGS="%{optflags} -fno-strict-aliasing" \ LDFLAGS="-L/usr/%{_lib}" \ @@ -126,7 +126,7 @@ make %{?_smp_mflags} %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install #make prefix=$RPM_BUILD_ROOT%{_xorg7prefix} \ # sysconfdir=$RPM_BUILD_ROOT/etc/X11/fvwm2 \ # install @@ -178,9 +178,17 @@ %find_lang fvwm %{name}.lang %find_lang FvwmScript %{name}.lang +%post +%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \ + default-xsession.desktop %{_datadir}/xsessions/fvwm2.desktop 20 + +%postun +[ -f %{_datadir}/xsessions/lxqt.desktop ] || %{_sbindir}/update-alternatives \ + --remove default-xsession.desktop %{_datadir}/xsessions/fvwm2.desktop + %files -f %{name}.lang -%defattr(-,root,root) -%doc COPYING NEWS docs docu-module/* +%license COPYING +%doc NEWS docs docu-module/* %dir %{_sysconfdir}/X11/fvwm2 %config %{_sysconfdir}/X11/fvwm2/system.fvwm2rc %{_prefix}/%{_xorg7bin}/*
