forked from pool/python-python-ptrace
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:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user