diff --git a/python-python-ptrace.changes b/python-python-ptrace.changes index a138051..e5d704f 100644 --- a/python-python-ptrace.changes +++ b/python-python-ptrace.changes @@ -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 diff --git a/python-python-ptrace.spec b/python-python-ptrace.spec index 99d7e46..c5f60bf 100644 --- a/python-python-ptrace.spec +++ b/python-python-ptrace.spec @@ -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