17
0

- Update to 0.9.9:

* Fix PROC_MAP_REGEX for three digit minor device id by @fab1ano in #73
  * Add support for RISC-V by @yuzibo in #76
  * Fix arguments of pipe/pipe2 system calls. by @jopereira in #78
  * do not raise an exception for a valid process status by @duanev in #80
  * Remove deprecated imp module by @hamarituc in #81
  * Use importlib instead of imp in setup_cptrace.py by @skitt in #83
- Drop patches, included upstream:
  * python-ptrace-pr81-importlib.patch
  * python-ptrace-pr83-importlib.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-ptrace?expand=0&rev=21
This commit is contained in:
2025-12-11 05:54:03 +00:00
committed by Git OBS Bridge
parent c7e01f1b8f
commit 43cd2dd74d
6 changed files with 19 additions and 86 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-ptrace
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 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
@@ -17,7 +17,7 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define pyversion 0.9.8
%define pyversion 0.9.9
%define cversion 0.6.1
%if "%{flavor}" == ""
%define pkgname python-ptrace
@@ -41,13 +41,8 @@ Version: %{pkgversion}
Release: 0
Summary: Python binding for ptrace
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/vstinner/python-ptrace
Source: https://github.com/haypo/python-ptrace/archive/%{pyversion}.tar.gz#/python-ptrace-%{pyversion}.tar.gz
# PATCH-FIX-UPSTREAM - Add python-ptrace-pr81-importlib.patch gh#vstinner/python-ptrace#81
Patch0: https://github.com/vstinner/python-ptrace/pull/81.patch#/python-ptrace-pr81-importlib.patch
# PATCH-FIX-UPSTREAM - Add python-ptrace-pr83-importlib.patch gh#vstinner/python-ptrace#83
Patch1: https://github.com/vstinner/python-ptrace/pull/83.patch#/python-ptrace-pr83-importlib.patch
%if "%{flavor}" == "cptrace"
BuildRequires: %{python_module devel}
%else