fix tapset for debug build

This commit is contained in:
Bohuslav Kabrda 2012-06-08 07:31:14 +02:00
parent c38e0b5fd0
commit a60b8d95b4
1 changed files with 8 additions and 1 deletions

View File

@ -118,7 +118,7 @@
Summary: Version 3 of the Python programming language aka Python 3000
Name: python3
Version: %{pybasever}.3
Release: 1%{?dist}
Release: 2%{?dist}
License: Python
Group: Development/Languages
@ -850,8 +850,12 @@ sed \
> %{buildroot}%{tapsetdir}/%{libpython_stp_optimized}
%if 0%{?with_debug_build}
# In Python 3, python3 and python3-debug don't point to the same binary,
# so we have to replace "python3" with "python3-debug" to get systemtap
# working with debug build
sed \
-e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" \
-e 's|"python3"|"python3-debug"|' \
%{_sourcedir}/libpython.stp \
> %{buildroot}%{tapsetdir}/%{libpython_stp_debug}
%endif # with_debug_build
@ -1330,6 +1334,9 @@ rm -fr %{buildroot}
# ======================================================
%changelog
* Wed May 30 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 3.2.3-2
- fix tapset for debug build
* Thu Apr 12 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
- 3.2.3; refresh patch 102 (lib64); fix test_gdb (patches 152 and 153)