Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2023-07-05 15:31:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.23466 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nautilus" Wed Jul 5 15:31:28 2023 rev:30 rq:1096941 version:4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2022-09-21 14:43:12.821883932 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.23466/python-nautilus.changes 2023-07-05 15:31:49.155014531 +0200 @@ -1,0 +2,7 @@ +Mon Jul 3 15:56:28 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- Add fix-hwcaps.patch to fix the issue with Nautilus: Segmentation + fault (core dumped) with libpython3_11-1_0-x86-64-v3 + (bsc#1212474) + +------------------------------------------------------------------- New: ---- fix-hwcaps.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nautilus.spec ++++++ --- /var/tmp/diff_new_pack.PpA0Cn/_old 2023-07-05 15:31:53.287039045 +0200 +++ /var/tmp/diff_new_pack.PpA0Cn/_new 2023-07-05 15:31:53.295039093 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nautilus # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ Group: Development/Libraries/Python URL: https://wiki.gnome.org/Projects/NautilusPython Source: https://download.gnome.org/sources/nautilus-python/4.0/%{_name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE: fix-hwcaps.patch -- bsc#1212474 +Patch1: fix-hwcaps.patch BuildRequires: %{python_module devel} BuildRequires: gtk-doc @@ -99,9 +101,9 @@ # New dir where python extensions get installed. It's not created by make # install (bgo#638890). test ! -d %{buildroot}%{_datadir}/nautilus-python/extensions -mkdir -p %{buildroot}%{_datadir}/nautilus-python/extensions find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -size 0 -delete +mkdir -p %{buildroot}%{_datadir}/nautilus-python/extensions %files %{python_files} %license COPYING ++++++ fix-hwcaps.patch ++++++ Index: nautilus-python-4.0/src/nautilus-python.c =================================================================== --- nautilus-python-4.0.orig/src/nautilus-python.c +++ nautilus-python-4.0/src/nautilus-python.c @@ -154,8 +154,8 @@ nautilus_python_init_python (void) { if (Py_IsInitialized()) return TRUE; - debug("g_module_open " PYTHON_LIBPATH); - libpython = g_module_open (PYTHON_LIBPATH, 0); + debug("g_module_open " PYTHON_LIBNAME); + libpython = g_module_open (PYTHON_LIBNAME, 0); if (!libpython) g_warning("g_module_open libpython failed: %s", g_module_error()); Index: nautilus-python-4.0/meson.build =================================================================== --- nautilus-python-4.0.orig/meson.build +++ nautilus-python-4.0/meson.build @@ -26,14 +26,14 @@ python_dep = python3.dependency(embed: t nautilus_extension_dir = libnautilus_extension.get_variable('extensiondir', pkgconfig_define: ['libdir', libdir]) py_so_filename = python3.get_variable('INSTSONAME') -python_libpath = python3.get_variable('LIBDIR') / py_so_filename conf = configuration_data() conf.set_quoted('DATADIR', datadir) conf.set('PYGOBJECT_MAJOR_VERSION', pygobject_major_version) conf.set('PYGOBJECT_MINOR_VERSION', pygobject_minor_version) conf.set('PYGOBJECT_MICRO_VERSION', pygobject_micro_version) -conf.set_quoted('PYTHON_LIBPATH', python_libpath) +conf.set_quoted('PYTHON_LIBNAME', py_so_filename) +conf.set_quoted('PYTHON_LIBPATH', python3.get_variable('LIBDIR')) configure_file( output: 'config.h', @@ -63,6 +63,6 @@ pkg.generate( summary({ 'PyGObject Version': 'pygobject-3.0', - 'Python Library': python_libpath, + 'Python Library': py_so_filename, 'Documentation': get_option('docs'), })