forked from pool/python-drgn
Compare commits
33 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
39f67b829b
|
||
|
|
1f5e145a05
|
||
|
|
a2bfb0beb4
|
||
|
|
b8b05b65e4
|
||
|
|
8dc389b576
|
||
|
|
3799a42f8b
|
||
|
|
bddec88a01
|
||
|
|
85f4bd732e
|
||
| 884cfdf109 | |||
| 3b1842a5b5 | |||
| 937a8afd68 | |||
|
|
a2b38e6dfe | ||
| 35b74ba59e | |||
|
|
de9c0dc1f6 | ||
| 67de2232c8 | |||
| 80b1b1dbba | |||
| afac8feac8 | |||
| 9740dffb16 | |||
| d94f1afe72 | |||
|
|
a23db336dd | ||
| 3e61530278 | |||
|
|
9899117ee5 | ||
| efef6f9ff1 | |||
|
|
6ed472b3b7 | ||
| f5a0983b30 | |||
|
|
35e7165ba5 | ||
| fcdb11a68e | |||
|
|
53e69ed21c | ||
|
|
53dc251463 | ||
| 9330817768 | |||
|
|
9455b3cf8e | ||
| d1152e021d | |||
|
|
43711c1d56 |
16
_service
Normal file
16
_service
Normal 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
LFS
BIN
drgn-0.0.27.tar.gz
LFS
Binary file not shown.
BIN
drgn-0.0.33.tar.xz
LFS
Normal file
BIN
drgn-0.0.33.tar.xz
LFS
Normal file
Binary file not shown.
4
drgn.obsinfo
Normal file
4
drgn.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
name: drgn
|
||||||
|
version: 0.0.33
|
||||||
|
mtime: 1761770492
|
||||||
|
commit: 781a21cb057ce07f17fd6edf0ffd299426abcbf7
|
||||||
@@ -1,3 +1,74 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 6 13:15:51 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
- Split off a drgn package with the CLI program.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 4 19:48:45 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
- Update to drgn-0.0.33:
|
||||||
|
* Lots of new helpers.
|
||||||
|
* Address Identification Improvements
|
||||||
|
* Array Slices
|
||||||
|
* More Reliable Interrupt Stack Traces
|
||||||
|
* Kmodify Bit Field Fix
|
||||||
|
* Linux 6.17 and 6.18 Support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -15,21 +15,21 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%if %{undefined primary_python}
|
||||||
%define skip_python2 1
|
%define primary_python python3
|
||||||
|
%endif
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
|
|
||||||
Name: python-drgn
|
Name: python-drgn
|
||||||
Version: 0.0.27
|
Version: 0.0.33
|
||||||
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 setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{pythons}
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
@@ -39,6 +39,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
|
||||||
@@ -46,6 +48,21 @@ drgn (pronounced “dragon”) is a debugger with an emphasis on
|
|||||||
programmability. drgn exposes the types and variables in a program
|
programmability. drgn exposes the types and variables in a program
|
||||||
for easy, expressive scripting in Python.
|
for easy, expressive scripting in Python.
|
||||||
|
|
||||||
|
This package contains the Python module.
|
||||||
|
|
||||||
|
%package -n drgn
|
||||||
|
Summary: Scriptable debugger CLI
|
||||||
|
Conflicts: %{python_module drgn < 0.0.33}
|
||||||
|
Provides: %{python_module drgn:/usr/bin/drgn}
|
||||||
|
Requires: %{primary_python}-drgn
|
||||||
|
|
||||||
|
%description -n drgn
|
||||||
|
drgn (pronounced “dragon”) is a debugger with an emphasis on
|
||||||
|
programmability. drgn exposes the types and variables in a program
|
||||||
|
for easy, expressive scripting in Python.
|
||||||
|
|
||||||
|
This package contains the CLI program.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n drgn-%{version}
|
%setup -q -n drgn-%{version}
|
||||||
|
|
||||||
@@ -55,22 +72,22 @@ export CFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/drgn
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pyunittest_arch discover -v
|
||||||
|
|
||||||
%post
|
|
||||||
%python_install_alternative drgn
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative drgn
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
%license COPYING
|
||||||
|
%{python_sitearch}/drgn
|
||||||
|
%{python_sitearch}/drgn-%{version}*-info
|
||||||
|
%{python_sitearch}/_drgn*.pyi
|
||||||
|
%{python_sitearch}/_drgn*.so
|
||||||
|
%{python_sitearch}/_drgn_util
|
||||||
|
|
||||||
|
%files -n drgn
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%python_alternative %{_bindir}/drgn
|
%{_bindir}/drgn
|
||||||
%{python_sitearch}/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user