diff --git a/systemtap.spec b/systemtap.spec index 743799b..c8f9c4a 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -18,7 +18,7 @@ %endif Name: systemtap -Version: 3.0 +Version: 3.1 Release: 1mamba Summary: An instrumentation system for Linux systems Group: System/Tools @@ -155,6 +155,14 @@ Requires: dejagnu %description testsuite The testsuite allows testing of the entire SystemTap toolchain without having to rebuild from sources. +%package -n python-systemtap +Group: System/Libraries +Summary: Python bindings to Systemtap +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-systemtap +Python bindings to Systemtap. + %prep %setup -q @@ -208,7 +216,7 @@ The testsuite allows testing of the entire SystemTap toolchain without having to [ "%{buildroot}" != / ] && rm -rf "" %makeinstall -mv %{buildroot}%{_datadir}/doc/systemtap/examples examples +#mv %{buildroot}%{_datadir}/doc/systemtap/examples examples find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@' @@ -407,8 +415,10 @@ exit 0 %{_bindir}/dtrace %{_includedir}/sys/sdt.h %{_includedir}/sys/sdt-config.h +%dir %{_datadir}/systemtap/examples/ +%{_datadir}/systemtap/examples/* %{_mandir}/man1/dtrace.1* -%doc NEWS examples +%doc NEWS %if %with_docs %doc docs.installed/*.pdf %doc docs.installed/tapsets @@ -443,7 +453,22 @@ exit 0 %defattr(-,root,root) %{_datadir}/systemtap/testsuite +%files -n python-systemtap +%defattr(-,root,root) +%dir %{python27_sitearch}/HelperSDT-*-py2.7.egg-info +%{python27_sitearch}/HelperSDT-*-py2.7.egg-info/* +%dir %{python27_sitearch}/HelperSDT +%{python27_sitearch}/HelperSDT/* +%dir %{python3_sitearch}/HelperSDT-*-py3.3.egg-info +%{python3_sitearch}/HelperSDT-0.1.0-py3.3.egg-info/* +%dir %{python3_sitearch}/HelperSDT +%{python3_sitearch}/HelperSDT/* +%{_libexecdir}/systemtap/python/stap-resolve-module-function.py + %changelog +* Sun Sep 24 2017 Automatic Build System 3.1-1mamba +- automatic version update by autodist + * Wed Jul 27 2016 Silvan Calarco 3.0-1mamba - update to 3.0