v0.7 prep
This commit is contained in:
parent
06b3d99e8d
commit
8d6b47e699
@ -1 +1 @@
|
|||||||
systemtap-0.6.2.tar.gz
|
systemtap-0.7.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
97a313be6dece97e0514d0c9a863413c systemtap-0.6.2.tar.gz
|
ca34da0111256d5d03367e84f92d520b systemtap-0.7.tar.gz
|
||||||
|
@ -1,26 +1,15 @@
|
|||||||
# Release number for rpm build. Stays at 1 for new PACKAGE_VERSION increases.
|
|
||||||
%define release 1
|
%define release 1
|
||||||
# Version number of oldest elfutils release that works with systemtap.
|
|
||||||
%define elfutils_version 0.131
|
|
||||||
|
|
||||||
# Default options (suitable for fedora)
|
|
||||||
%define with_sqlite 1
|
%define with_sqlite 1
|
||||||
%define with_docs 1
|
%define with_docs 1
|
||||||
%define with_crash 0
|
%define with_crash 0
|
||||||
%define with_bundled_elfutils 0
|
%define with_bundled_elfutils 0
|
||||||
|
%define elfutils_version 0.127
|
||||||
# Enable these options by default for RHEL
|
|
||||||
%if 0%{?rhel} >= 5
|
|
||||||
%define with_crash 1
|
|
||||||
%define with_bundled_elfutils 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: systemtap
|
Name: systemtap
|
||||||
Version: 0.6.2
|
Version: 0.7
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
Summary: Instrumentation System
|
Summary: Instrumentation System
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
ExcludeArch: ppc
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sourceware.org/systemtap/
|
URL: http://sourceware.org/systemtap/
|
||||||
Source: ftp://sourceware.org/pub/%{name}/releases/%{name}-%{version}.tar.gz
|
Source: ftp://sourceware.org/pub/%{name}/releases/%{name}-%{version}.tar.gz
|
||||||
@ -141,16 +130,19 @@ cd ..
|
|||||||
%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config}
|
%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
# We want the examples in the special doc dir, not the generoc doc install dir.
|
||||||
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
|
||||||
|
|
||||||
# Fix paths in the example & testsuite scripts
|
# Fix paths in the example & testsuite scripts
|
||||||
find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
|
find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
|
||||||
|
|
||||||
# To avoid perl dependency, make perl sample script non-executable
|
# To avoid perl dependency, make perl sample script non-executable
|
||||||
chmod -x examples/samples/kmalloc-top
|
chmod -x examples/samples/kmalloc-top
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
|
|
||||||
# Because "make install" may install staprun with mode 04111, the
|
# Because "make install" may install staprun with mode 04111, the
|
||||||
# post-processing programs rpmbuild runs won't be able to read it.
|
# post-processing programs rpmbuild runs won't be able to read it.
|
||||||
# So, we change permissions so that they can read it. We'll set the
|
# So, we change permissions so that they can read it. We'll set the
|
||||||
@ -159,8 +151,12 @@ chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
|
|||||||
|
|
||||||
# Copy over the testsuite
|
# Copy over the testsuite
|
||||||
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
|
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
|
||||||
mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/src
|
|
||||||
cp -rp examples $RPM_BUILD_ROOT%{_datadir}/%{name}/src
|
#%if %{with_docs}
|
||||||
|
# We want the manuals in the special doc dir, not the generic doc install dir.
|
||||||
|
mkdir docs.installed
|
||||||
|
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
|
||||||
|
#%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -175,8 +171,7 @@ exit 0
|
|||||||
|
|
||||||
%doc README AUTHORS NEWS COPYING examples
|
%doc README AUTHORS NEWS COPYING examples
|
||||||
%if %{with_docs}
|
%if %{with_docs}
|
||||||
%doc doc/tutorial.pdf
|
%doc docs.installed/*.pdf
|
||||||
%doc doc/langref.pdf
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_bindir}/stap
|
%{_bindir}/stap
|
||||||
@ -207,28 +202,16 @@ exit 0
|
|||||||
|
|
||||||
%files testsuite
|
%files testsuite
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/%{name}/src
|
|
||||||
%{_datadir}/%{name}/testsuite
|
%{_datadir}/%{name}/testsuite
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 27 2008 Will Cohen <wcohen@redhat.com> - 0.6.2-1
|
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
|
||||||
- Rebase.
|
- Upstream release.
|
||||||
|
|
||||||
* Wed Feb 21 2008 Will Cohen <wcohen@redhat.com> - 0.6.1-8
|
|
||||||
- Bump version.
|
|
||||||
|
|
||||||
* Wed Feb 13 2008 Will Cohen <wcohen@redhat.com> - 0.6.1-5
|
|
||||||
- Correct elfi typo in runtime/stack-i386.c.
|
|
||||||
|
|
||||||
* Tue Feb 12 2008 Will Cohen <wcohen@redhat.com> - 0.6.1-4
|
|
||||||
- Add patch for gcc 4.3.
|
|
||||||
|
|
||||||
* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
|
* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
|
||||||
- Add zlib-devel dependency which is supposed to come from crash-devel.
|
- Add zlib-devel to buildreq; missing from crash-devel
|
||||||
|
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
|
||||||
* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-2
|
|
||||||
- Process testsuite .stp files to fool "#! stap" dep. finder.
|
|
||||||
|
|
||||||
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
|
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
|
||||||
- Add crash-devel buildreq to build staplog.so crash(8) module.
|
- Add crash-devel buildreq to build staplog.so crash(8) module.
|
||||||
|
Loading…
Reference in New Issue
Block a user