Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-drgn for openSUSE:Factory checked in at 2026-04-20 16:12:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-drgn (Old) and /work/SRC/openSUSE:Factory/.python-drgn.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-drgn" Mon Apr 20 16:12:20 2026 rev:15 rq:1348106 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-drgn/python-drgn.changes 2025-11-06 18:18:59.998143763 +0100 +++ /work/SRC/openSUSE:Factory/.python-drgn.new.11940/python-drgn.changes 2026-04-20 16:12:29.496103334 +0200 @@ -1,0 +2,11 @@ +Wed Apr 15 04:01:54 UTC 2026 - Steve Kowalik <[email protected]> + +- Switch to using pyproject macros to build and install the Python module. + +------------------------------------------------------------------- +Wed Mar 11 10:40:29 UTC 2026 - Petr Tesařík <[email protected]> + +- Recompress drgn 0.1.0 tarball with xz. +- Add drgn-crash to the drgn package. + +------------------------------------------------------------------- @@ -4,0 +16,28 @@ + +------------------------------------------------------------------- +Thu Nov 6 07:05:00 UTC 2025 - Christoph Grüninger <[email protected]> + +- Update to drgn 0.1.0 + * drgn now provides a few built-in commands accessed by starting + a line with the % character. + * py runs Python code, allowing its output to be piped or redirected. + * sh executes a shell command. + * source runs a script. + * drgn now provides a compatibility mode with the crash utility. + * Most commands have been ported from crash. + * Ported commands also have a --drgn option that prints example + drgn code for doing the equivalent of the command. + * Crash compatibility mode can be accessed with %crash from the + drgn CLI or directly with the new drgn-crash script. + * drgn.StackFrame.source() now returns a new type, + drgn.SourceLocation, instead of a tuple. + * drgn.Program.source_location() was added. It looks up the file, line + number, column number, and function name of a given code address. + * Several methods were added to drgn.Program for searching for + certain values or patterns in memory + * drgn.Program.set_linux_kernel_custom() was added. It allows + creating a drgn.Program representing the Linux kernel that + is backed by a custom backend defined by the user, like a + remote transport. + * Linux 6.19 is now supported. Linux 7.0 is now tentatively supported. + * Many new helpers were added. Old: ---- drgn-0.0.33.tar.xz New: ---- drgn-0.1.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-drgn.spec ++++++ --- /var/tmp/diff_new_pack.Y55uBG/_old 2026-04-20 16:12:31.764196719 +0200 +++ /var/tmp/diff_new_pack.Y55uBG/_new 2026-04-20 16:12:31.764196719 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-drgn # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,12 +15,15 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?sle15_python_module_pythons} + %if %{undefined primary_python} -%define primary_python python3 +%define first_arg() %1 +%define primary_python %{first_arg %pythons} %endif Name: python-drgn -Version: 0.0.33 +Version: 0.1.0 Release: 0 Summary: Scriptable debugger library License: LGPL-2.1-or-later @@ -29,6 +32,8 @@ Source: drgn-%{version}.tar.xz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{pythons} BuildRequires: autoconf BuildRequires: automake @@ -41,6 +46,11 @@ BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives +# Do not even try for ancient distributions +%if %{undefined pythons} +ExclusiveArch: nothere +%endif + %python_subpackages %description @@ -54,7 +64,7 @@ Summary: Scriptable debugger CLI Conflicts: %{python_module drgn < 0.0.33} Provides: %{python_module drgn:/usr/bin/drgn} -Requires: %{primary_python}-drgn +Requires: %{primary_python}-drgn = %{version} %description -n drgn drgn (pronounced “dragon”) is a debugger with an emphasis on @@ -68,10 +78,10 @@ %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -89,4 +99,5 @@ %doc README.rst %license COPYING %{_bindir}/drgn +%{_bindir}/drgn-crash ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.Y55uBG/_old 2026-04-20 16:12:32.052208578 +0200 +++ /var/tmp/diff_new_pack.Y55uBG/_new 2026-04-20 16:12:32.080209731 +0200 @@ -1,6 +1,6 @@ -mtime: 1762436251 -commit: 39f67b829bf4af4940f192ca09cc8203f4bc6e7220207206d8c1e0d4ab7a5f0c +mtime: 1776332444 +commit: e27ae30a425d8a85c69d4ebfe76fb7a6d9b89e88a6033f605643a5abf22b9d25 url: https://src.opensuse.org/kernel-kdump/python-drgn.git -revision: 39f67b829bf4af4940f192ca09cc8203f4bc6e7220207206d8c1e0d4ab7a5f0c +revision: e27ae30a425d8a85c69d4ebfe76fb7a6d9b89e88a6033f605643a5abf22b9d25 projectscmsync: https://src.opensuse.org/kernel-kdump/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-04-16 11:42:21.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ drgn-0.0.33.tar.xz -> drgn-0.1.0.tar.xz ++++++ ++++ 48257 lines of diff (skipped)
