SPECS: systemtap.spec - added as-needed patch - explicit executabl...

sparky sparky at pld-linux.org
Sat May 19 19:16:15 CEST 2007


Author: sparky                       Date: Sat May 19 17:16:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added as-needed patch
- explicit executables listing, so one will notice when some vanishes

---- Files affected:
SPECS:
   systemtap.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/systemtap.spec
diff -u SPECS/systemtap.spec:1.5 SPECS/systemtap.spec:1.6
--- SPECS/systemtap.spec:1.5	Tue Feb 13 09:06:44 2007
+++ SPECS/systemtap.spec	Sat May 19 19:16:10 2007
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - fix --as-needed build
 %define	snap	20061111
 Summary:	Instrumentation System
 Summary(pl.UTF-8):	System oprzyrządowania
@@ -11,6 +9,7 @@
 Group:		Base
 Source0:	ftp://sourceware.org/pub/systemtap/snapshots/%{name}-%{snap}.tar.bz2
 # Source0-md5:	fea372489a6db07592846f2be1c386f0
+Patch0:		%{name}-as-needed.patch
 URL:		http://sourceware.org/systemtap/
 BuildRequires:	elfutils-devel
 BuildRequires:	glib2-devel
@@ -19,8 +18,6 @@
 Requires:	make
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		filterout_ld	-Wl,--as-needed
-
 %description
 SystemTap is an instrumentation system for systems running Linux 2.6.
 Developers can write instrumentation to collect data on the operation
@@ -33,9 +30,14 @@
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 %build
 cd src
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
@@ -53,7 +55,9 @@
 %files
 %defattr(644,root,root,755)
 %doc src/{README,AUTHORS,NEWS,COPYING}
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/lket-b2a
+%attr(755,root,root) %{_bindir}/stap
+%attr(755,root,root) %{_bindir}/staprun
 %{_libexecdir}/systemtap
 %{_datadir}/systemtap
 %dir /var/cache/systemtap
@@ -65,6 +69,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/05/19 17:16:10  sparky
+- added as-needed patch
+- explicit executables listing, so one will notice when some vanishes
+
 Revision 1.5  2007/02/13 08:06:44  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/systemtap.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list