Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libratbag for openSUSE:Factory checked in at 2024-03-29 13:10:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libratbag (Old) and /work/SRC/openSUSE:Factory/.libratbag.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libratbag" Fri Mar 29 13:10:48 2024 rev:16 rq:1163515 version:0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/libratbag/libratbag.changes 2023-05-12 20:40:00.970767201 +0200 +++ /work/SRC/openSUSE:Factory/.libratbag.new.1905/libratbag.changes 2024-03-29 13:13:49.725460335 +0100 @@ -1,0 +2,9 @@ +Fri Mar 29 08:41:46 UTC 2024 - Max Lin <mlin@suse.com> + +- Add use-python-3.6.patch force to build with python 3.6 on Leap 15 + * meson has pulls python 3.11 and was selected python 3.11 to build + with, however the dependencies are python 3.6 base, force meson to + use python 3.6 since both python 3.6 and python 3.11 has installed + in the build env + +------------------------------------------------------------------- New: ---- use-python-3.6.patch BETA DEBUG BEGIN: New: - Add use-python-3.6.patch force to build with python 3.6 on Leap 15 * meson has pulls python 3.11 and was selected python 3.11 to build BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libratbag.spec ++++++ --- /var/tmp/diff_new_pack.clyAHW/_old 2024-03-29 13:13:50.277480613 +0100 +++ /var/tmp/diff_new_pack.clyAHW/_new 2024-03-29 13:13:50.277480613 +0100 @@ -29,6 +29,7 @@ Patch1: shebang-env.diff Patch2: install-daemon-into-sbindir.patch Patch3: harden_ratbagd.service.patch +Patch4: use-python-3.6.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: json-glib-devel @@ -103,7 +104,13 @@ mice. %prep -%autosetup -p1 +%setup -q +%patch -P1 -p1 +%patch -P2 -p1 +%patch -P3 -p1 +%if 0%{?suse_version} < 1550 +%patch -P4 -p1 +%endif cp %{SOURCE1} . %build ++++++ use-python-3.6.patch ++++++ --- a/meson.build +++ b/meson.build @@ -496,7 +496,7 @@ configure_file(input : 'dbus/org.freedes # doesn't exist and isn't logged as "not found". dep_python3 = dependency('', required : false) pymod = import('python') -py3 = pymod.find_installation() +py3 = pymod.find_installation('python3.6') if meson.version().version_compare('>= 0.53.0') dep_python3 = py3.dependency(embed : true) endif