diff --git a/systemtap.spec b/systemtap.spec index fa8682e..bc9821f 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -18,8 +18,8 @@ %endif Name: systemtap -Version: 4.4 -Release: 3mamba +Version: 4.7 +Release: 1mamba Summary: An instrumentation system for Linux systems Group: System/Tools Vendor: openmamba @@ -31,6 +31,7 @@ License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libavahi-devel +BuildRequires: libboost-devel BuildRequires: libdw-devel BuildRequires: libelf-devel BuildRequires: libgcc @@ -39,10 +40,10 @@ BuildRequires: libncurses-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel BuildRequires: libperl -BuildRequires: libpython-devel BuildRequires: libpython27-devel BuildRequires: libpython3-devel BuildRequires: libreadline-devel +BuildRequires: librpm-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libvirt-devel @@ -112,15 +113,6 @@ Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release} SystemTap grapher is a utility for real-time visualization of data from SystemTap instrumentation scripts. %endif -%package initscript -Group: System/Tools -Summary: Systemtap Initscript -Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release} -Requires: initscripts - -%description initscript -Initscript for Systemtap scripts. - %package runtime Group: System/Tools Summary: Instrumentation System Runtime @@ -268,9 +260,6 @@ mkdir -p %{buildroot}%{_localstatedir}/log/stap-server touch %{buildroot}%{_localstatedir}/log/stap-server/log mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d install -m 644 initscript/logrotate.stap-server %{buildroot}%{_sysconfdir}/logrotate.d/stap-server -# -install -d -m 0755 %{buildroot}%{_unitdir} -mv %{buildroot}%{_prefix}/lib/systemd/system/* %{buildroot}%{_unitdir}/ %find_lang %{name} @@ -305,38 +294,7 @@ if test ! -e ~stap-server/.systemtap/ssl/server/stap.cert; then %{_bindir}/stap-authorize-server-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_bindir}/stap-authorize-signing-cert ~stap-server/.systemtap/ssl/server/stap.cert fi -/sbin/chkconfig --add stap-server -exit 0 - -%preun server -if [ $1 = 0 ] ; then - /sbin/service stap-server stop >/dev/null 2>&1 - /sbin/chkconfig --del stap-server -fi -exit 0 - -%postun server -if [ "$1" -ge "1" ] ; then - /sbin/service stap-server condrestart >/dev/null 2>&1 || : -fi -exit 0 - -%post initscript -/sbin/chkconfig --add systemtap -exit 0 - -%preun initscript -if [ $1 = 0 ] ; then - /sbin/service systemtap stop >/dev/null 2>&1 - /sbin/chkconfig --del systemtap -fi -exit 0 - -%postun initscript -if [ "$1" -ge "1" ] ; then - /sbin/service systemtap condrestart >/dev/null 2>&1 || : -fi -exit 0 +: %post (make -C %{_datadir}/systemtap/runtime/linux/uprobes clean) >/dev/null 3>&1 || true @@ -352,12 +310,13 @@ exit 0 %{_bindir}/stapbpf %{_bindir}/stap-merge %{_bindir}/stap-prep +%{_bindir}/stap-profile-annotate %{_bindir}/stap-report %{_bindir}/stapsh %{_bindir}/stapvirt %{_libexecdir}/systemtap/HelperSDT.jar %{_libexecdir}/systemtap/stapbm -%{_libexecdir}/systemtap/libHelperSDT_*.so +%{_libexecdir}/systemtap/libHelperSDT.so %dir %{_datadir}/systemtap %dir %{_datadir}/systemtap/runtime %{_datadir}/systemtap/runtime/*.h @@ -377,6 +336,7 @@ exit 0 %{_mandir}/man1/stap*.1* %{_mandir}/man3/stap*.3stap* %{_mandir}/man7/warning::symbols.7stap* +%{_mandir}/man7/warning::pass5.7stap* %{_mandir}/man7/stappaths.7* %{_mandir}/man8/stapbpf.8* %{_mandir}/man8/stapsh.8* @@ -491,6 +451,9 @@ exit 0 %{_libexecdir}/systemtap/python/stap-resolve-module-function.py %changelog +* Sun May 08 2022 Automatic Build System 4.7-1mamba +- automatic version update by autodist + * Mon Mar 08 2021 Silvan Calarco 4.4-3mamba - rebuilt to fix binary requirements under /bin