Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glade for openSUSE:Factory checked in at 2024-02-22 20:55:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glade (Old) and /work/SRC/openSUSE:Factory/.glade.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glade" Thu Feb 22 20:55:25 2024 rev:46 rq:1148453 version:3.40.0 Changes: -------- --- /work/SRC/openSUSE:Factory/glade/glade.changes 2022-11-11 14:36:31.506304685 +0100 +++ /work/SRC/openSUSE:Factory/.glade.new.1706/glade.changes 2024-02-22 20:55:31.464621467 +0100 @@ -1,0 +2,6 @@ +Tue Feb 20 22:31:53 UTC 2024 - Michael Gorse <mgo...@suse.com> + +- Add glade-python3.patch for SLE. Pass python3 to the meson + python module, to avoid pulling in python 3.11. + +------------------------------------------------------------------- New: ---- glade-python3.patch BETA DEBUG BEGIN: New: - Add glade-python3.patch for SLE. Pass python3 to the meson python module, to avoid pulling in python 3.11. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glade.spec ++++++ --- /var/tmp/diff_new_pack.TQm0cr/_old 2024-02-22 20:55:32.412656018 +0100 +++ /var/tmp/diff_new_pack.TQm0cr/_new 2024-02-22 20:55:32.412656018 +0100 @@ -1,7 +1,7 @@ # # spec file for package glade # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Group: Development/Tools/GUI Builders URL: https://glade.gnome.org/ Source0: https://download.gnome.org/sources/glade/3.40/%{name}-%{version}.tar.xz +# PATCH-FIX-SLE glade-python3.patch mgo...@suse.com -- explicitly use python3. +Patch0: glade-python3.patch BuildRequires: fdupes BuildRequires: gobject-introspection-devel @@ -97,7 +99,10 @@ %lang_package %prep -%autosetup -p1 +%setup -q +%if 0%{?sle_version} && 0%{?sle_version} < 160000 +%patch -P 0 -p1 +%endif %build %meson \ ++++++ glade-python3.patch ++++++ diff -urp glade-3.40.0.orig/meson.build glade-3.40.0/meson.build --- glade-3.40.0.orig/meson.build 2022-08-10 15:24:25.000000000 -0500 +++ glade-3.40.0/meson.build 2024-02-20 16:30:08.868048755 -0600 @@ -153,7 +153,7 @@ pygobject_version = '3.8.0' pygobject_dep = dependency('pygobject-3.0', version: '>= ' + pygobject_version, required: get_option('python')) have_python = pygobject_dep.found() if have_python - python_dep = import('python').find_installation().dependency(embed: true) + python_dep = import('python').find_installation('python3').dependency(embed: true) version_array = pygobject_version.split('.') config_h.set('PYGOBJECT_REQUIRED_MAJOR', version_array[0].to_int())