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