|
|
@ -45,7 +45,7 @@
|
|
|
|
%{!?with_sysusers: %global with_sysusers 0%{?fedora} >= 32 || 0%{?rhel} >= 9}
|
|
|
|
%{!?with_sysusers: %global with_sysusers 0%{?fedora} >= 32 || 0%{?rhel} >= 9}
|
|
|
|
|
|
|
|
|
|
|
|
# Virt is supported on these arches, even on el7, but it's not in core EL7
|
|
|
|
# Virt is supported on these arches, even on el7, but it's not in core EL7
|
|
|
|
%if 0%{?rhel} <= 7
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
|
%ifarch ppc64le aarch64
|
|
|
|
%ifarch ppc64le aarch64
|
|
|
|
%global with_virthost 0
|
|
|
|
%global with_virthost 0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -64,9 +64,6 @@
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%if 0%{?rhel} >= 6
|
|
|
|
%if 0%{?rhel} >= 6
|
|
|
|
%define udevrulesdir /lib/udev/rules.d
|
|
|
|
%define udevrulesdir /lib/udev/rules.d
|
|
|
|
%else
|
|
|
|
|
|
|
|
# RHEL5
|
|
|
|
|
|
|
|
%define udevrulesdir /etc/udev/rules.d
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -83,11 +80,7 @@
|
|
|
|
%define dracutbindir %{_bindir}
|
|
|
|
%define dracutbindir %{_bindir}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
|
|
|
|
%{!?_rpmmacrodir: %define _rpmmacrodir /etc/rpm/}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
|
|
|
|
# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
|
|
|
|
%define __brp_mangle_shebangs_exclude_from .stp$
|
|
|
|
%define __brp_mangle_shebangs_exclude_from .stp$
|
|
|
@ -122,8 +115,8 @@ m stapdev stapdev
|
|
|
|
|
|
|
|
|
|
|
|
Name: systemtap
|
|
|
|
Name: systemtap
|
|
|
|
# PRERELEASE
|
|
|
|
# PRERELEASE
|
|
|
|
Version: 4.9
|
|
|
|
Version: 5.0
|
|
|
|
Release: 3%{?release_override}%{?dist}
|
|
|
|
Release: 4%{?release_override}%{?dist}
|
|
|
|
# for version, see also configure.ac
|
|
|
|
# for version, see also configure.ac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -156,15 +149,12 @@ Release: 3%{?release_override}%{?dist}
|
|
|
|
# intermediary stap-server for --use-server: systemtap-server (-devel unused)
|
|
|
|
# intermediary stap-server for --use-server: systemtap-server (-devel unused)
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Programmable system-wide instrumentation system
|
|
|
|
Summary: Programmable system-wide instrumentation system
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
|
|
|
|
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: rhbz2223733.patch
|
|
|
|
Patch1: RHEL-16549.patch
|
|
|
|
Patch2: rhbz2223735.patch
|
|
|
|
Patch2: RHEL-18334.patch
|
|
|
|
Patch3: pr29108.patch
|
|
|
|
|
|
|
|
Patch4: pr30749.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build*
|
|
|
|
# Build*
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
@ -175,6 +165,7 @@ BuildRequires: pkgconfig(nss)
|
|
|
|
BuildRequires: pkgconfig(avahi-client)
|
|
|
|
BuildRequires: pkgconfig(avahi-client)
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
BuildRequires: pkgconfig(libdebuginfod)
|
|
|
|
BuildRequires: pkgconfig(libdebuginfod)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(json-c)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{with_dyninst}
|
|
|
|
%if %{with_dyninst}
|
|
|
|
BuildRequires: dyninst-devel >= 10.0
|
|
|
|
BuildRequires: dyninst-devel >= 10.0
|
|
|
@ -226,9 +217,6 @@ BuildRequires: pkgconfig(libvirt)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
%if 0%{?rhel} <= 5
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
%if 0%{?fedora} >= 1
|
|
|
|
%if 0%{?fedora} >= 1
|
|
|
@ -268,7 +256,7 @@ the components needed to locally develop and execute systemtap scripts.
|
|
|
|
|
|
|
|
|
|
|
|
%package server
|
|
|
|
%package server
|
|
|
|
Summary: Instrumentation System Server
|
|
|
|
Summary: Instrumentation System Server
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-devel = %{version}-%{release}
|
|
|
|
Requires: systemtap-devel = %{version}-%{release}
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
@ -298,7 +286,7 @@ compiles systemtap scripts to kernel objects on their demand.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Programmable system-wide instrumentation system - development headers, tools
|
|
|
|
Summary: Programmable system-wide instrumentation system - development headers, tools
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
|
|
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
|
|
@ -328,7 +316,7 @@ a copy of the standard tapset library and the runtime library C files.
|
|
|
|
|
|
|
|
|
|
|
|
%package runtime
|
|
|
|
%package runtime
|
|
|
|
Summary: Programmable system-wide instrumentation system - runtime
|
|
|
|
Summary: Programmable system-wide instrumentation system - runtime
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
@ -343,7 +331,7 @@ using a local or remote systemtap-devel installation.
|
|
|
|
|
|
|
|
|
|
|
|
%package client
|
|
|
|
%package client
|
|
|
|
Summary: Programmable system-wide instrumentation system - client
|
|
|
|
Summary: Programmable system-wide instrumentation system - client
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: zip unzip
|
|
|
|
Requires: zip unzip
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
@ -366,7 +354,7 @@ documentation, and a copy of the tapset library for reference.
|
|
|
|
|
|
|
|
|
|
|
|
%package initscript
|
|
|
|
%package initscript
|
|
|
|
Summary: Systemtap Initscripts
|
|
|
|
Summary: Systemtap Initscripts
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
%if %{with_systemd}
|
|
|
|
%if %{with_systemd}
|
|
|
@ -386,7 +374,7 @@ boot-time probing if supported.
|
|
|
|
|
|
|
|
|
|
|
|
%package sdt-devel
|
|
|
|
%package sdt-devel
|
|
|
|
Summary: Static probe support tools
|
|
|
|
Summary: Static probe support tools
|
|
|
|
License: GPLv2+ and Public Domain
|
|
|
|
License: GPL-2.0-or-later AND CC0-1.0
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
%if %{with_pyparsing}
|
|
|
|
%if %{with_pyparsing}
|
|
|
|
%if %{with_python3}
|
|
|
|
%if %{with_python3}
|
|
|
@ -409,12 +397,12 @@ with the optional dtrace-compatibility preprocessor to process related
|
|
|
|
|
|
|
|
|
|
|
|
%package testsuite
|
|
|
|
%package testsuite
|
|
|
|
Summary: Instrumentation System Testsuite
|
|
|
|
Summary: Instrumentation System Testsuite
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later AND MIT
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap-sdt-devel = %{version}-%{release}
|
|
|
|
Requires: systemtap-sdt-devel = %{version}-%{release}
|
|
|
|
Requires: systemtap-server = %{version}-%{release}
|
|
|
|
Requires: systemtap-server = %{version}-%{release}
|
|
|
|
Requires: dejagnu which elfutils grep nc
|
|
|
|
Requires: dejagnu which elfutils grep nc wget
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
Requires: elfutils-debuginfod
|
|
|
|
Requires: elfutils-debuginfod
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -481,7 +469,7 @@ systemtap on the current system.
|
|
|
|
%if %{with_java}
|
|
|
|
%if %{with_java}
|
|
|
|
%package runtime-java
|
|
|
|
%package runtime-java
|
|
|
|
Summary: Systemtap Java Runtime Support
|
|
|
|
Summary: Systemtap Java Runtime Support
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
# work around fedora ci gating kvetching about i686<->x86-64 conflicts
|
|
|
|
# work around fedora ci gating kvetching about i686<->x86-64 conflicts
|
|
|
@ -503,7 +491,7 @@ that probe Java processes running on the OpenJDK runtimes using Byteman.
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
%package runtime-python2
|
|
|
|
%package runtime-python2
|
|
|
|
Summary: Systemtap Python 2 Runtime Support
|
|
|
|
Summary: Systemtap Python 2 Runtime Support
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -515,7 +503,7 @@ that probe python 2 processes.
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%package runtime-python3
|
|
|
|
%package runtime-python3
|
|
|
|
Summary: Systemtap Python 3 Runtime Support
|
|
|
|
Summary: Systemtap Python 3 Runtime Support
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -532,7 +520,7 @@ that probe python 3 processes.
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%package exporter
|
|
|
|
%package exporter
|
|
|
|
Summary: Systemtap-prometheus interoperation mechanism
|
|
|
|
Summary: Systemtap-prometheus interoperation mechanism
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -545,7 +533,7 @@ to remote requesters on demand.
|
|
|
|
%if %{with_virthost}
|
|
|
|
%if %{with_virthost}
|
|
|
|
%package runtime-virthost
|
|
|
|
%package runtime-virthost
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - host
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - host
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
# only require libvirt-libs really
|
|
|
|
# only require libvirt-libs really
|
|
|
|
#Requires: libvirt >= 1.0.2
|
|
|
|
#Requires: libvirt >= 1.0.2
|
|
|
@ -560,7 +548,7 @@ connection.
|
|
|
|
%if %{with_virtguest}
|
|
|
|
%if %{with_virtguest}
|
|
|
|
%package runtime-virtguest
|
|
|
|
%package runtime-virtguest
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - guest
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - guest
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
%if %{with_systemd}
|
|
|
|
%if %{with_systemd}
|
|
|
@ -581,7 +569,7 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
|
|
|
|
%if %{with_python3} && %{with_monitor}
|
|
|
|
%if %{with_python3} && %{with_monitor}
|
|
|
|
%package jupyter
|
|
|
|
%package jupyter
|
|
|
|
Summary: ISystemtap jupyter kernel and examples
|
|
|
|
Summary: ISystemtap jupyter kernel and examples
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -596,8 +584,6 @@ or within a container.
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch -P1 -p1
|
|
|
|
%patch -P1 -p1
|
|
|
|
%patch -P2 -p1
|
|
|
|
%patch -P2 -p1
|
|
|
|
%patch -P3 -p1
|
|
|
|
|
|
|
|
%patch -P4 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
@ -1317,6 +1303,19 @@ exit 0
|
|
|
|
|
|
|
|
|
|
|
|
# PRERELEASE
|
|
|
|
# PRERELEASE
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Dec 6 2023 William Cohen <wcohen@redhat.com> - 5.0-4
|
|
|
|
|
|
|
|
- RHEL-18334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 14 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-3
|
|
|
|
|
|
|
|
- RHEL-16549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 06 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-2
|
|
|
|
|
|
|
|
- License header tweak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 03 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-1
|
|
|
|
|
|
|
|
- Upstream release, see wiki page below for detailed notes.
|
|
|
|
|
|
|
|
https://sourceware.org/systemtap/wiki/SystemTapReleases
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Frank Ch. Eigler <fche@redhat.com> - 4.9-3
|
|
|
|
* Mon Aug 14 2023 Frank Ch. Eigler <fche@redhat.com> - 4.9-3
|
|
|
|
- rhbz2231632
|
|
|
|
- rhbz2231632
|
|
|
|
- rhbz2231635
|
|
|
|
- rhbz2231635
|
|
|
|