update to 4.1 [release 4.1-1mamba;Sat Jul 27 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 18:20:00 +01:00
parent 90f8328d45
commit b860b4bead

View File

@ -18,7 +18,7 @@
%endif %endif
Name: systemtap Name: systemtap
Version: 3.1 Version: 4.1
Release: 1mamba Release: 1mamba
Summary: An instrumentation system for Linux systems Summary: An instrumentation system for Linux systems
Group: System/Tools Group: System/Tools
@ -29,18 +29,25 @@ URL: http://sourceware.org/systemtap/
Source0: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz Source0: http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: elfutils-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libavahi-devel BuildRequires: libavahi-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libjson-c-devel
BuildRequires: libncurses-devel
BuildRequires: libnspr-devel BuildRequires: libnspr-devel
BuildRequires: libnss-devel BuildRequires: libnss-devel
BuildRequires: libperl
BuildRequires: libpython-devel
BuildRequires: libpython27-devel
BuildRequires: libpython3-devel
BuildRequires: libreadline-devel
BuildRequires: libsqlite-devel BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtirpc-devel
BuildRequires: libvirt-devel BuildRequires: libvirt-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: perl-DBI
BuildRequires: perl-HTML-Parser BuildRequires: perl-HTML-Parser
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -130,6 +137,15 @@ Summary: Static probe support tools
%description sdt-devel %description sdt-devel
Support tools to allow applications to use static probes. Support tools to allow applications to use static probes.
%package exporter
Group: System/Tools
Summary: Systemtap exporter
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release}
%description exporter
SystemTap exporter.
%package server %package server
Group: System/Tools Group: System/Tools
Summary: Instrumentation System Server Summary: Instrumentation System Server
@ -202,7 +218,10 @@ Python bindings to Systemtap.
%else %else
--disable-grapher \ --disable-grapher \
%endif %endif
--disable-silent-rules --disable-silent-rules \
%ifarch arm
CPPFLAGS="%{optflags} -Wno-error=ignored-qualifiers"
%endif
# TODO --with-rpm # TODO --with-rpm
# specific librpm version... librpm-4.4.so # specific librpm version... librpm-4.4.so
@ -254,6 +273,9 @@ 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}
%clean %clean
@ -331,6 +353,7 @@ exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/stap %{_bindir}/stap
%{_bindir}/stapbpf
%{_bindir}/stap-merge %{_bindir}/stap-merge
%{_bindir}/stap-prep %{_bindir}/stap-prep
%{_bindir}/stap-report %{_bindir}/stap-report
@ -365,8 +388,9 @@ exit 0
%{_mandir}/man3/stap*.3stap* %{_mandir}/man3/stap*.3stap*
%{_mandir}/man7/warning::symbols.7stap* %{_mandir}/man7/warning::symbols.7stap*
%{_mandir}/man7/stappaths.7* %{_mandir}/man7/stappaths.7*
%{_mandir}/man8/stapbpf.8*
%{_mandir}/man8/stapsh.8* %{_mandir}/man8/stapsh.8*
%{_mandir}/man8/systemtap.8* %{_mandir}/man8/systemtap-service.8*
%lang(cs) %{_mandir}/cs/man*/ %lang(cs) %{_mandir}/cs/man*/
%doc AUTHORS COPYING %doc AUTHORS COPYING
@ -418,7 +442,7 @@ exit 0
%dir %{_datadir}/systemtap/examples/ %dir %{_datadir}/systemtap/examples/
%{_datadir}/systemtap/examples/* %{_datadir}/systemtap/examples/*
%{_mandir}/man1/dtrace.1* %{_mandir}/man1/dtrace.1*
%doc NEWS #%doc NEWS
%if %with_docs %if %with_docs
%doc docs.installed/*.pdf %doc docs.installed/*.pdf
%doc docs.installed/tapsets %doc docs.installed/tapsets
@ -427,8 +451,22 @@ exit 0
%endif %endif
%endif %endif
%files exporter
%defattr(-,root,root)
%dir %{_sysconfdir}/stap-exporter
%{_sysconfdir}/stap-exporter/EXAMPLE*
%config %{_sysconfdir}/stap-exporter/*.stp
%config(noreplace) %{_sysconfdir}/sysconfig/stap-exporter
%{_unitdir}/stap-exporter.service
%{_sbindir}/stap-exporter
%{_mandir}/man8/stap-exporter.8*
%files server %files server
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/rc.d/init.d/stap-server
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
%dir %{_sysconfdir}/stap-server
%dir %{_sysconfdir}/stap-server/conf.d
%{_bindir}/stap-server %{_bindir}/stap-server
%{_libexecdir}/systemtap/stap-serverd %{_libexecdir}/systemtap/stap-serverd
%{_libexecdir}/systemtap/stap-start-server %{_libexecdir}/systemtap/stap-start-server
@ -438,10 +476,6 @@ exit 0
%{_libexecdir}/systemtap/stap-gen-cert %{_libexecdir}/systemtap/stap-gen-cert
#%{_libexecdir}/systemtap/stap-server-connect #%{_libexecdir}/systemtap/stap-server-connect
%{_libexecdir}/systemtap/stap-sign-module %{_libexecdir}/systemtap/stap-sign-module
%{_sysconfdir}/rc.d/init.d/stap-server
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
%dir %{_sysconfdir}/stap-server
%dir %{_sysconfdir}/stap-server/conf.d
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server %config(noreplace) %{_sysconfdir}/sysconfig/stap-server
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server %dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
%ghost %config %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log %ghost %config %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
@ -466,6 +500,12 @@ exit 0
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py %{_libexecdir}/systemtap/python/stap-resolve-module-function.py
%changelog %changelog
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-1mamba
- update to 4.1
* Sun Dec 03 2017 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic update by autodist
* Sun Sep 24 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba * Sun Sep 24 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist - automatic version update by autodist