Explicitly BuildRequire systemtap-sdt-devel

This is for https://fedoraproject.org/wiki/Changes/Separate_dtrace_package

This already BuildRequired /usr/bin/dtrace, but it also needs the headers:

    In file included from /builddir/build/BUILD/python3.13-3.13.0_b4-build/Python-3.13.0b4/Include/pydtrace.h:11,
                     from /builddir/build/BUILD/python3.13-3.13.0_b4-build/Python-3.13.0b4/Python/ceval.c:40:
    Include/pydtrace_probes.h:10:10: fatal error: sys/sdt.h: No such file or directory
       10 | #include <sys/sdt.h>
          |          ^~~~~~~~~~~
    compilation terminated.
This commit is contained in:
Miro Hrončok 2024-07-23 13:12:19 +02:00
commit 7ed344344c

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b4
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 2%{?dist}
License: Python-2.0.1
@ -293,6 +293,7 @@ BuildRequires: python-rpm-macros
BuildRequires: readline-devel
BuildRequires: redhat-rpm-config >= 127
BuildRequires: sqlite-devel
BuildRequires: systemtap-sdt-devel
BuildRequires: tcl-devel
BuildRequires: tk-devel
BuildRequires: xz-devel
@ -1745,6 +1746,10 @@ CheckPython freethreading
# ======================================================
%changelog
* Tue Jul 23 2024 Miro Hrončok <mhroncok@redhat.com> - 3.13.0~b4-2
- Explicitly BuildRequire systemtap-sdt-devel
https://fedoraproject.org/wiki/Changes/Separate_dtrace_package
* Fri Jul 19 2024 Miro Hrončok <mhroncok@redhat.com> - 3.13.0~b4-1
- Update to Python 3.13.0b4