automatic version update by autodist [release 4.7-1mamba;Sun May 08 2022]

This commit is contained in:
Automatic Build System 2024-01-05 18:20:00 +01:00
parent f1df2bc3b1
commit 8c2668721b

View File

@ -18,8 +18,8 @@
%endif %endif
Name: systemtap Name: systemtap
Version: 4.4 Version: 4.7
Release: 3mamba Release: 1mamba
Summary: An instrumentation system for Linux systems Summary: An instrumentation system for Linux systems
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
@ -31,6 +31,7 @@ License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libavahi-devel BuildRequires: libavahi-devel
BuildRequires: libboost-devel
BuildRequires: libdw-devel BuildRequires: libdw-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libgcc BuildRequires: libgcc
@ -39,10 +40,10 @@ BuildRequires: libncurses-devel
BuildRequires: libnspr-devel BuildRequires: libnspr-devel
BuildRequires: libnss-devel BuildRequires: libnss-devel
BuildRequires: libperl BuildRequires: libperl
BuildRequires: libpython-devel
BuildRequires: libpython27-devel BuildRequires: libpython27-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: librpm-devel
BuildRequires: libsqlite-devel BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libvirt-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. SystemTap grapher is a utility for real-time visualization of data from SystemTap instrumentation scripts.
%endif %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 %package runtime
Group: System/Tools Group: System/Tools
Summary: Instrumentation System Runtime Summary: Instrumentation System Runtime
@ -268,9 +260,6 @@ mkdir -p %{buildroot}%{_localstatedir}/log/stap-server
touch %{buildroot}%{_localstatedir}/log/stap-server/log touch %{buildroot}%{_localstatedir}/log/stap-server/log
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 644 initscript/logrotate.stap-server %{buildroot}%{_sysconfdir}/logrotate.d/stap-server 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} %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-server-cert ~stap-server/.systemtap/ssl/server/stap.cert
%{_bindir}/stap-authorize-signing-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_bindir}/stap-authorize-signing-cert ~stap-server/.systemtap/ssl/server/stap.cert
fi 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 %post
(make -C %{_datadir}/systemtap/runtime/linux/uprobes clean) >/dev/null 3>&1 || true (make -C %{_datadir}/systemtap/runtime/linux/uprobes clean) >/dev/null 3>&1 || true
@ -352,12 +310,13 @@ exit 0
%{_bindir}/stapbpf %{_bindir}/stapbpf
%{_bindir}/stap-merge %{_bindir}/stap-merge
%{_bindir}/stap-prep %{_bindir}/stap-prep
%{_bindir}/stap-profile-annotate
%{_bindir}/stap-report %{_bindir}/stap-report
%{_bindir}/stapsh %{_bindir}/stapsh
%{_bindir}/stapvirt %{_bindir}/stapvirt
%{_libexecdir}/systemtap/HelperSDT.jar %{_libexecdir}/systemtap/HelperSDT.jar
%{_libexecdir}/systemtap/stapbm %{_libexecdir}/systemtap/stapbm
%{_libexecdir}/systemtap/libHelperSDT_*.so %{_libexecdir}/systemtap/libHelperSDT.so
%dir %{_datadir}/systemtap %dir %{_datadir}/systemtap
%dir %{_datadir}/systemtap/runtime %dir %{_datadir}/systemtap/runtime
%{_datadir}/systemtap/runtime/*.h %{_datadir}/systemtap/runtime/*.h
@ -377,6 +336,7 @@ exit 0
%{_mandir}/man1/stap*.1* %{_mandir}/man1/stap*.1*
%{_mandir}/man3/stap*.3stap* %{_mandir}/man3/stap*.3stap*
%{_mandir}/man7/warning::symbols.7stap* %{_mandir}/man7/warning::symbols.7stap*
%{_mandir}/man7/warning::pass5.7stap*
%{_mandir}/man7/stappaths.7* %{_mandir}/man7/stappaths.7*
%{_mandir}/man8/stapbpf.8* %{_mandir}/man8/stapbpf.8*
%{_mandir}/man8/stapsh.8* %{_mandir}/man8/stapsh.8*
@ -491,6 +451,9 @@ exit 0
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py %{_libexecdir}/systemtap/python/stap-resolve-module-function.py
%changelog %changelog
* Sun May 08 2022 Automatic Build System <autodist@mambasoft.it> 4.7-1mamba
- automatic version update by autodist
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-3mamba * Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-3mamba
- rebuilt to fix binary requirements under /bin - rebuilt to fix binary requirements under /bin