141 lines
4.4 KiB
RPMSpec
141 lines
4.4 KiB
RPMSpec
#
|
|
# spec file for package systemtap (Version 0.5.8)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: systemtap
|
|
BuildRequires: gcc-c++
|
|
%define package_version 20070203
|
|
%define elfutils_version 0.125
|
|
License: GNU General Public License (GPL)
|
|
Version: 0.5.8
|
|
Release: 36
|
|
Summary: Instrumentation System
|
|
Group: Development/Tools/Debuggers
|
|
URL: http://sourceware.org/systemtap/
|
|
# Requires: kernel-source gcc make
|
|
# Suggest: kernel-smp-debuginfo
|
|
Source: systemtap-%{package_version}.tar.bz2
|
|
Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2
|
|
Patch: systap-elf-install.patch
|
|
Patch1: elfutils-portability.patch
|
|
Patch2: elfutils-0.125-build-fix.diff
|
|
Patch3: systemtap-probe-at-function-entry.diff
|
|
Patch4: systemtap-s390x-store_deref-fix.diff
|
|
Patch5: systemtap-s390x-mmap-tapset.diff
|
|
Patch6: systemtap-translate-fix.diff
|
|
Patch7: systemtap-s390x-stp_get_asm-alignment.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
SystemTap is an instrumentation system for systems running Linux 2.6.
|
|
Developers can write instrumentation to collect data on the operation
|
|
of the system.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Frank Ch. Eigler <fche@redhat.com>
|
|
Graydon Hoare <graydon@redhat.com>
|
|
Martin Hunt <hunt@redhat.com>
|
|
Tom Zanussi <zanussi@us.ibm.com>
|
|
|
|
%prep
|
|
# %setup -n %{name}-%{package_version} -q -a1
|
|
%setup -n src -q -a1
|
|
%patch
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
%patch5 -p2
|
|
%patch6 -p1
|
|
%patch7
|
|
autoreconf -fi
|
|
cd elfutils-%{elfutils_version}
|
|
%patch1 -p1
|
|
%patch2
|
|
autoreconf -fi
|
|
cd ..
|
|
|
|
%build
|
|
%configure --with-elfutils=elfutils-%{elfutils_version}
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install install-elfutils
|
|
mkdir -p $RPM_BUILD_ROOT/var/cache/systemtap
|
|
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README AUTHORS NEWS COPYING
|
|
%{_bindir}/*
|
|
%{_mandir}/man?/*
|
|
%{_libdir}/systemtap
|
|
%{_datadir}/systemtap
|
|
%dir %attr(0755,root,root) /var/cache/systemtap
|
|
|
|
%changelog
|
|
* Thu Mar 08 2007 - tiwai@suse.de
|
|
- fix the handling of function arguments in more generic way
|
|
(#245310, #252311)
|
|
added a new option -P to switch the prologue-search behavior
|
|
* Wed Mar 07 2007 - tiwai@suse.de
|
|
- fix misalignment of exception table entry on s390x (#249576)
|
|
* Mon Feb 26 2007 - tiwai@suse.de
|
|
- fix crash with large H value in hist_linear() (#248430)
|
|
* Fri Feb 23 2007 - tiwai@suse.de
|
|
- fix mmap syscall on s390x (#248110)
|
|
* Thu Feb 15 2007 - tiwai@suse.de
|
|
- fix a wrong name of store_deref definition (#245544)
|
|
* Wed Feb 14 2007 - tiwai@suse.de
|
|
- fix the handling of function arguments on s390x (#245310)
|
|
* Tue Feb 06 2007 - tiwai@suse.de
|
|
- update to snapshot 20070203, bugfixes including:
|
|
* add missing sockets tapset support (#239346)
|
|
* fix the array membership (#242481)
|
|
* Wed Jan 31 2007 - tiwai@suse.de
|
|
- turn on Autoprov again to fix broken dependency.
|
|
* Tue Jan 30 2007 - tiwai@suse.de
|
|
- update to snapshot 20070120 and elfutils-0.125 to fix major
|
|
bugs (#238710):
|
|
* fixed libdw known bugs in elfutils 0.124
|
|
* add the missing support of tapsetr/errno.stp for s390x
|
|
* fix conditionals in syscall tapset for s390x
|
|
* new macros to safely read/write values from kernel pointers
|
|
* fix the non-standard C behavior to handle NULL in an array
|
|
* fixed support for benchmarking mode with off-line code
|
|
* added support to allow user to use array size declarations
|
|
* reduce number of calls to stp_module_relocate within $tvar
|
|
functions
|
|
* Tue Jan 09 2007 - tiwai@suse.de
|
|
- updated to the recent snapshot version (FATE 301670).
|
|
* fix cache bugs
|
|
* auto-tools fixes
|
|
* probe registartion rework
|
|
* allow negative numeric literals
|
|
* bugfixes/optmizations
|
|
- elfutls 1.2.4
|
|
removed codes with problematic license in elfutils (#232894)
|
|
* Thu Aug 24 2006 - tiwai@suse.de
|
|
- update elfutils to 1.2.3, including vmlinux.debuginfo fix.
|
|
* Thu Aug 24 2006 - tiwai@suse.de
|
|
- fix the auto-lookup of vmlinux debuginfo for SUSE systems
|
|
- fix the stp compilation with 2.6.18 kernel
|
|
* Wed Aug 09 2006 - tiwai@suse.de
|
|
- updated to latest snapshot (version 0.5.8)
|
|
with elfutils-1.2.2.
|
|
* Tue Apr 18 2006 - mason@suse.de
|
|
- Update to latest snapshot
|
|
* Sun Apr 09 2006 - mason@suse.de
|
|
- created package
|