14
0

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

- use simplier macros for build c parts and runtests

OBS-URL: https://build.opensuse.org/request/show/506296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-ptrace?expand=0&rev=2
This commit is contained in:
2017-06-26 16:44:47 +00:00
committed by Git OBS Bridge
parent a02980511b
commit 35da8cd86a
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 26 16:26:48 UTC 2017 - mimi.vx@gmail.com
- use simplier macros for build c parts and runtests
-------------------------------------------------------------------
Sun Jun 25 09:00:13 UTC 2017 - mimi.vx@gmail.com

View File

@@ -47,17 +47,17 @@ chmod 0644 examples/*.py
%build
%python_build
%{python_expand $python setup_cptrace.py build}
%python_exec setup_cptrace.py build
%install
%python_install
%{python_expand $python setup_cptrace.py install -O1 --skip-build --root %{buildroot}}
%python_exec setup_cptrace.py install -O1 --skip-build --root %{buildroot}
%python_clone -a %{buildroot}%{_bindir}/gdb.py
%python_clone -a %{buildroot}%{_bindir}/strace.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_expand $python runtests.py}
%python_exec runtests.py
%post
%python_install_alternative strace.py