From: Lumir Balhar Date: Thu, 18 Jul 2024 16:29:09 +0000 (-0400) Subject: New sdt-dtrace subpackage for dtrace tool (rhbz#2296275) X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9f83200bd85394a6236fef315f6589f2f5800413;p=systemtap.git New sdt-dtrace subpackage for dtrace tool (rhbz#2296275) This is phase one of the approved self-contained change: https://fedoraproject.org/wiki/Changes/Separate_dtrace_package Phase two will be to switch all packages that need the dtrace tool to the new systemtap-sdt-drace and then we can remove the requirement from systemtap-sdt-devel package. --- diff --git a/systemtap.spec b/systemtap.spec index 06419320f..fbf5029fc 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -133,7 +133,8 @@ Release: 1%{?release_override}%{?dist} # systemtap-runtime /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn # systemtap-client /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime # systemtap-initscript /etc/init.d/systemtap, dracut module, req:systemtap -# systemtap-sdt-devel /usr/include/sys/sdt.h /usr/bin/dtrace +# systemtap-sdt-devel /usr/include/sys/sdt.h +# systemtap-sdt-dtrace /usr/bin/dtrace # systemtap-testsuite /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel # systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime # systemtap-runtime-virthost /usr/bin/stapvirt, req:libvirt req:libxml2 @@ -375,9 +376,21 @@ boot-time probing if supported. %package sdt-devel -Summary: Static probe support tools +Summary: Static probe support header files License: GPL-2.0-or-later AND CC0-1.0 URL: http://sourceware.org/systemtap/ +Requires: systemtap-sdt-dtrace = %{version}-%{release} + +%description sdt-devel +This package includes the header file used for static +instrumentation compiled into userspace programs. + + +%package sdt-dtrace +Summary: Static probe support dtrace tool +License: GPL-2.0-or-later AND CC0-1.0 +URL: http://sourceware.org/systemtap/ +Provides: dtrace = %{version}-%{release} %if %{with_pyparsing} %if %{with_python3} Requires: python3-pyparsing @@ -390,11 +403,9 @@ Requires: python2-pyparsing %endif %endif -%description sdt-devel -This package includes the header file used for static -instrumentation compiled into userspace programs and libraries, along -with the optional dtrace-compatibility preprocessor to process related -.d files into tracing-macro-laden .h headers. +%description sdt-dtrace +This package includes the dtrace-compatibility preprocessor +to process related .d files into tracing-macro-laden .h headers. %package testsuite @@ -1225,7 +1236,6 @@ exit 0 %files sdt-devel -%{_bindir}/dtrace %{_includedir}/sys/sdt.h %{_includedir}/sys/sdt-config.h %{_mandir}/man1/dtrace.1* @@ -1235,6 +1245,12 @@ exit 0 %license COPYING +%files sdt-dtrace +%{_bindir}/dtrace +%doc README AUTHORS NEWS +%license COPYING + + %files testsuite %dir %{_datadir}/systemtap %{_datadir}/systemtap/testsuite @@ -1307,6 +1323,10 @@ exit 0 # PRERELEASE %changelog +* Wed Jul 17 2024 Lumír Balhar - 5.2~pre17206355g1a07290a-2 +- New sdt-dtrace subpackage for dtrace tool (rhbz#2296275) + https://fedoraproject.org/wiki/Changes/Separate_dtrace_package + * Fri Apr 26 2024 Frank Ch. Eigler - 5.1-1 - Upstream release, see wiki page below for detailed notes. https://sourceware.org/systemtap/wiki/SystemTapReleases