Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2019-05-09 10:02:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lightdm (Old) and /work/SRC/openSUSE:Factory/.lightdm.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm" Thu May 9 10:02:49 2019 rev:99 rq:700502 version:1.28.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2018-11-06 14:21:39.850080087 +0100 +++ /work/SRC/openSUSE:Factory/.lightdm.new.5148/lightdm.changes 2019-05-09 10:02:52.483905322 +0200 @@ -1,0 +2,5 @@ +Fri May 3 22:24:11 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr> + +- Stop building lightdm-qt4 on openSUSE > 1500. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.Zs5yDL/_old 2019-05-09 10:02:55.439913785 +0200 +++ /var/tmp/diff_new_pack.Zs5yDL/_new 2019-05-09 10:02:55.467913865 +0200 @@ -1,7 +1,7 @@ # # spec file for package lightdm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -67,9 +67,11 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) +%if 0%{?suse_version} <= 1500 BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtDBus) BuildRequires: pkgconfig(QtGui) +%endif BuildRequires: pkgconfig(gio-2.0) >= 2.26 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.44 @@ -133,6 +135,7 @@ This package contains the GObject Introspection bindings for the LightDM client library. +%if 0%{?suse_version} <= 1500 %package -n %{qt4_lib} Summary: LightDM Qt4-based Client Library License: LGPL-2.0-only OR LGPL-3.0-only @@ -151,11 +154,16 @@ %description qt-devel This package contains development files needed for developing Qt4-based LightDM clients. +%endif %package -n %{qt5_lib} Summary: LightDM Qt5-based Client Library License: LGPL-2.0-only OR LGPL-3.0-only Group: System/Libraries +%if 0%{?suse_version} > 1500 +Provides: %{qt4_lib} = %{version} +Obsoletes: %{qt4_lib} < %{version} +%endif %description -n %{qt5_lib} A Qt5-based library for LightDM clients to use to interface with @@ -166,6 +174,10 @@ License: LGPL-2.0-only OR LGPL-3.0-only Group: Development/Libraries/C and C++ Requires: %{qt5_lib} = %{version} +%if 0%{?suse_version} > 1500 +Provides: qt-devel = %{version} +Obsoletes: qt-devel < %{version} +%endif %description qt5-devel This package contains development files needed for developing @@ -272,9 +284,11 @@ %postun -n %{gobject_lib} -p /sbin/ldconfig +%if 0%{?suse_version} <= 1500 %post -n %{qt4_lib} -p /sbin/ldconfig %postun -n %{qt4_lib} -p /sbin/ldconfig +%endif %post -n %{qt5_lib} -p /sbin/ldconfig @@ -337,6 +351,7 @@ %files -n %{typelibname} %{_libdir}/girepository-1.0/LightDM-1.typelib +%if 0%{?suse_version} <= 1500 %files -n %{qt4_lib} %license COPYING.LGPL2 COPYING.LGPL3 %{_libdir}/lib%{qt4_libname}.so.* @@ -345,6 +360,7 @@ %{_libdir}/lib%{qt4_libname}.so %{_libdir}/pkgconfig/lib%{qt4_libname}.pc %{_includedir}/%{qt4_libname}/ +%endif %files -n %{qt5_lib} %license COPYING.LGPL2 COPYING.LGPL3