Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2020-12-10 15:57:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lightdm (Old) and /work/SRC/openSUSE:Factory/.lightdm.new.2328 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm" Thu Dec 10 15:57:32 2020 rev:105 rq:854305 version:1.30.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2020-10-10 19:01:08.812387669 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new.2328/lightdm.changes 2020-12-10 15:57:33.538821810 +0100 @@ -1,0 +2,6 @@ +Wed Dec 9 13:21:40 UTC 2020 - Antonio Larrosa <alarr...@suse.com> + +- Only build the qt4 subpackage up to Leap 15.2 / SLE 15 SP2 + (boo#1179613) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.uKoCci/_old 2020-12-10 15:57:34.254822483 +0100 +++ /var/tmp/diff_new_pack.uKoCci/_new 2020-12-10 15:57:34.262822491 +0100 @@ -17,6 +17,12 @@ # +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300 +%define build_qt4 0 +%else +%define build_qt4 1 +%endif + %define ver_master 1.24 %define gobject_libname lightdm-gobject-1 %define gobject_lib lib%{gobject_libname}-0 @@ -69,7 +75,7 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) -%if 0%{?suse_version} <= 1500 +%if %{build_qt4} BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtDBus) BuildRequires: pkgconfig(QtGui) @@ -137,7 +143,7 @@ This package contains the GObject Introspection bindings for the LightDM client library. -%if 0%{?suse_version} <= 1500 +%if %{build_qt4} %package -n %{qt4_lib} Summary: LightDM Qt4-based Client Library License: LGPL-2.0-only OR LGPL-3.0-only @@ -162,7 +168,7 @@ Summary: LightDM Qt5-based Client Library License: LGPL-2.0-only OR LGPL-3.0-only Group: System/Libraries -%if 0%{?suse_version} > 1500 +%if !%{build_qt4} Provides: %{qt4_lib} = %{version} Obsoletes: %{qt4_lib} < %{version} %endif @@ -176,7 +182,7 @@ 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 +%if !%{build_qt4} Provides: %{name}-qt-devel = %{version} Obsoletes: %{name}-qt-devel < %{version} %endif @@ -301,7 +307,7 @@ %postun -n %{gobject_lib} -p /sbin/ldconfig -%if 0%{?suse_version} <= 1500 +%if %{build_qt4} %post -n %{qt4_lib} -p /sbin/ldconfig %postun -n %{qt4_lib} -p /sbin/ldconfig @@ -374,7 +380,7 @@ %files -n %{typelibname} %{_libdir}/girepository-1.0/LightDM-1.typelib -%if 0%{?suse_version} <= 1500 +%if %{build_qt4} %files -n %{qt4_lib} %license COPYING.LGPL2 COPYING.LGPL3 %{_libdir}/lib%{qt4_libname}.so.* _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org