[packages/systemtap] - enabled crash support (where available)
qboosh
qboosh at pld-linux.org
Tue Jul 9 19:23:32 CEST 2013
commit 1651fd5a7415b00209ddc92921cb5bd1a7d33d12
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 9 19:23:15 2013 +0200
- enabled crash support (where available)
systemtap.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index ab102df..0020336 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -1,11 +1,15 @@
#
-# TODO: crash, dyninst, byteman (see -runtime-java)
+# TODO: dyninst, byteman (see -runtime-java)
#
# Conditional build:
%bcond_without doc # documentation build
%bcond_with publican # publican guides build (requires functional publican+wkhtmltopdf)
+%bcond_without crash # crash extension
%bcond_without java # Java runtime support
#
+%ifnarch %{ix86} %{x8664} alpha arm ia64 ppc64 s390 s390x
+%undefine with_crash
+%endif
Summary: Instrumentation System
Summary(pl.UTF-8): System oprzyrządowania
Name: systemtap
@@ -25,6 +29,7 @@ BuildRequires: autoconf >= 2.63
BuildRequires: automake
BuildRequires: avahi-devel
BuildRequires: boost-devel
+%{?with_crash:BuildRequires: crash-devel}
BuildRequires: docbook-dtd412-xml
BuildRequires: elfutils-devel >= 0.148
BuildRequires: gettext-devel >= 0.17
@@ -218,6 +223,7 @@ dtrace, który przetwarza pliki .d na pliki nagłówkowe .h z makrami
%{__automake}
%configure \
--disable-silent-rules \
+ %{?with_crash:--enable-crash} \
--enable-docs%{!?with_doc:=no} \
--enable-pie \
--enable-publican%{!?with_publican:=no} \
@@ -274,6 +280,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/stap-authorize-cert
%attr(755,root,root) %{_libdir}/%{name}/stapio
+%{?with_crash:%attr(755,root,root) %{_libdir}/%{name}/staplog.so}
%{_mandir}/man1/stap-merge.1*
%{_mandir}/man3/function::*.3stap*
%{_mandir}/man3/probe::*.3stap*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/1651fd5a7415b00209ddc92921cb5bd1a7d33d12
More information about the pld-cvs-commit
mailing list