SHA256
1
0
forked from pool/python-drgn

13 Commits

Author SHA256 Message Date
Petr Tesarik
8dc389b576 Update to drgn-0.0.31 2025-04-17 14:42:39 +02:00
Petr Tesarik
3799a42f8b _service: recompress sources with xz 2025-04-17 14:12:28 +02:00
Petr Tesarik
bddec88a01 _service: run tar and recompress manually 2025-04-17 14:11:58 +02:00
Petr Tesarik
85f4bd732e _service: Update revision rewrite rules 2025-04-17 08:47:19 +02:00
884cfdf109 Accepting request 1252113 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1252113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-drgn?expand=0&rev=12
2025-03-11 19:47:17 +00:00
3b1842a5b5 - RPM: move source to obscpio maintained with _service
- RPM: use modern (>=15.4) python macros

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/python-drgn?expand=0&rev=25
2025-03-11 16:02:21 +00:00
937a8afd68 Accepting request 1233922 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1233922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-drgn?expand=0&rev=11
2025-01-01 22:04:55 +00:00
Petr Tesařík
a2b38e6dfe - Update to drgn-0.0.30:
* Linux 6.13 support
  * Support for symbols without debuginfo
  * Use Python 3.13 enhanced REPL when available
  * Add a 'stat' subcommand to contrib/cgroup.py
  * Many bug fixes
- API compatibility with libkdumpfile-0.5.5:
  * libdrgn-kdump-prepare-for-incompatible-changes-in-li.patch
  * libdrgn-kdump-simplify-getting-the-PRSTATUS-attribut.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/python-drgn?expand=0&rev=23
2024-12-30 13:16:26 +00:00
35b74ba59e Accepting request 1206458 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1206458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-drgn?expand=0&rev=10
2024-10-09 20:13:06 +00:00
Petr Tesařík
de9c0dc1f6 - Update to drgn-0.0.29:
* Fix call_function(), write_memory(), and write_object() for
    kernels with CONFIG_MODVERSIONS=y
- Fix a few rpmlint warnings.

- Update to drgn-0.0.28:
  * Linux 6.11 and 6.12 support
  * Helpers for modifying the running kernel
  * 32-bit Arm address translation
  * AArch64 52-bit virtual addresses with 4k or 16k pages

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/python-drgn?expand=0&rev=21
2024-10-09 07:16:21 +00:00
67de2232c8 Accepting request 1203947 from Kernel:kdump
- Update RPM's Source: to match tarball proper

OBS-URL: https://build.opensuse.org/request/show/1203947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-drgn?expand=0&rev=9
2024-09-27 15:10:53 +00:00
80b1b1dbba - Update RPM's Source: to match tarball proper
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/python-drgn?expand=0&rev=19
2024-09-26 16:46:46 +00:00
afac8feac8 Update RPM Source: to version that matches pure git archive (pythonhosted tarball is not stable or it confuses factory-auto checker)
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/python-drgn?expand=0&rev=18
2024-09-26 15:40:29 +00:00
6 changed files with 90 additions and 12 deletions

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/osandov/drgn.git</param>
<param name="revision">main</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.g%h</param>
<param name="versionrewrite-pattern">v([^+]*\+git[1-9].*)|v([^+]*)\+git0.*</param>
<param name="versionrewrite-replacement">\1\2</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

BIN
drgn-0.0.27.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
drgn-0.0.31.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

4
drgn.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: drgn
version: 0.0.31
mtime: 1744828823
commit: 8209a147fb61deed38ca376d063bbff0343ca234

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
Thu Apr 17 06:47:43 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
- Update to drgn-0.0.31:
* New command line options and APIs for controlling how debugging
information is found
* Improved debuginfod integration
* Stack tracing through unknown kernel modules with ORC
* New helpers
* Bug fixes
- Drop upstreamed patches:
* libdrgn-kdump-prepare-for-incompatible-changes-in-li.patch
* libdrgn-kdump-simplify-getting-the-PRSTATUS-attribut.patch
-------------------------------------------------------------------
Thu Mar 6 13:35:39 UTC 2025 - Michal Koutný <mkoutny@suse.com>
- RPM: move source to obscpio maintained with _service
- RPM: use modern (>=15.4) python macros
-------------------------------------------------------------------
Mon Dec 30 13:01:09 UTC 2024 - Petr Tesařík <ptesarik@suse.com>
- Update to drgn-0.0.30:
* Linux 6.13 support
* Support for symbols without debuginfo
* Use Python 3.13 enhanced REPL when available
* Add a 'stat' subcommand to contrib/cgroup.py
* Many bug fixes
- API compatibility with libkdumpfile-0.5.5:
* libdrgn-kdump-prepare-for-incompatible-changes-in-li.patch
* libdrgn-kdump-simplify-getting-the-PRSTATUS-attribut.patch
-------------------------------------------------------------------
Wed Oct 9 06:46:34 UTC 2024 - Petr Tesařík <ptesarik@suse.com>
- Update to drgn-0.0.29:
* Fix call_function(), write_memory(), and write_object() for
kernels with CONFIG_MODVERSIONS=y
- Fix a few rpmlint warnings.
-------------------------------------------------------------------
Wed Oct 9 06:24:34 UTC 2024 - Petr Tesařík <ptesarik@suse.com>
- Update to drgn-0.0.28:
* Linux 6.11 and 6.12 support
* Helpers for modifying the running kernel
* 32-bit Arm address translation
* AArch64 52-bit virtual addresses with 4k or 16k pages
-------------------------------------------------------------------
Thu Sep 26 16:45:15 UTC 2024 - Michal Koutný <mkoutny@suse.com>
- Update RPM's Source: to match tarball proper
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 2 03:32:44 UTC 2024 - Petr Tesařík <petr@tesarici.cz> Tue Jul 2 03:32:44 UTC 2024 - Petr Tesařík <petr@tesarici.cz>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-drgn # spec file for package python-drgn
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,16 @@
# #
%define skip_python2 1
%{?!python_module:%define python_module() python3-%{**}}
Name: python-drgn Name: python-drgn
Version: 0.0.27 Version: 0.0.31
Release: 0 Release: 0
Summary: Scriptable debugger library Summary: Scriptable debugger library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
URL: https://github.com/osandov/drgn URL: https://github.com/osandov/drgn
Source: https://files.pythonhosted.org/packages/source/d/drgn/drgn-%{version}.tar.gz Source: drgn-%{version}.tar.xz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module readline}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@@ -39,6 +36,8 @@ BuildRequires: libelf-devel
BuildRequires: libkdumpfile-devel BuildRequires: libkdumpfile-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %description
@@ -59,7 +58,7 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
%python_exec setup.py test %pyunittest_arch discover -v
%post %post
%python_install_alternative drgn %python_install_alternative drgn
@@ -71,6 +70,10 @@ export CFLAGS="%{optflags}"
%doc README.rst %doc README.rst
%license COPYING %license COPYING
%python_alternative %{_bindir}/drgn %python_alternative %{_bindir}/drgn
%{python_sitearch}/* %{python_sitearch}/drgn
%{python_sitearch}/drgn-%{version}*-info
%{python_sitearch}/_drgn*.pyi
%{python_sitearch}/_drgn*.so
%{python_sitearch}/_drgn_util
%changelog %changelog