From f011cdc3fa826cdd9f209bf987f376333ca364ca Mon Sep 17 00:00:00 2001 From: Bohuslav Kabrda Date: Jun 07 2012 08:35:31 +0000 Subject: fix tapset for debug build --- diff --git a/python3.spec b/python3.spec index 4d9ca8c..fdacbdf 100644 --- a/python3.spec +++ b/python3.spec @@ -122,7 +122,7 @@ Summary: Version 3 of the Python programming language aka Python 3000 Name: python3 Version: %{pybasever}.3 -Release: 7%{?dist} +Release: 8%{?dist} License: Python Group: Development/Languages @@ -1085,8 +1085,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 @@ -1506,6 +1510,9 @@ rm -fr %{buildroot} # ====================================================== %changelog +* Wed May 30 2012 Bohuslav Kabrda - 3.2.3-8 +- fix tapset for debug build + * Tue May 15 2012 David Malcolm - 3.2.3-7 - update uid/gid handling to avoid int overflows seen with uid/gid values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)