14
0

Accepting request 527285 from home:mimi_vx:branches:devel:languages:python

- update to 0.9.3
  * Fix test_strace.py: tolerate the openat() syscall

OBS-URL: https://build.opensuse.org/request/show/527285
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-ptrace?expand=0&rev=8
This commit is contained in:
2017-09-19 11:05:16 +00:00
committed by Git OBS Bridge
parent 20a1fb2fac
commit f7c0b0206d
5 changed files with 8 additions and 33 deletions

View File

@@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define pkg_name python-ptrace
Name: python-%{pkg_name}
Version: 0.9.2
Version: 0.9.3
Release: 0
Summary: Python binding for ptrace
License: GPL-2.0
Group: Development/Languages/Python
Url: http://python-ptrace.readthedocs.io/
Source: https://github.com/haypo/%{pkg_name}/archive/%{pkg_name}-%{version}.tar.gz
Patch0: test_strace.patch
Source: https://github.com/haypo/%{pkg_name}/archive/%{version}.tar.gz#!./%{pkg_name}-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -34,15 +33,13 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
python-ptrace is a debugger using ptrace written in Python.
%prep
%setup -q -n %{pkg_name}-%{pkg_name}-%{version}
%patch0 -p1
%setup -q -n %{pkg_name}-%{version}
sed -i 's/\x0D$//' doc/*.rst
chmod 0644 examples/*.py
@@ -69,7 +66,6 @@ chmod 0644 examples/*.py
%python_uninstall_alternative gdb.py
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING
%doc README.rst
%doc doc/* examples