New systemtap tarball 0.2
This commit is contained in:
parent
460bfa2afa
commit
b04ba449a7
@ -1,2 +1,2 @@
|
|||||||
elfutils-0.109.tar.gz
|
systemtap-0.2.tar.gz
|
||||||
systemtap-0.0.0.1rm.tar.gz
|
elfutils-0.111.tar.gz
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
60e8778f8e285ef88cdf15879c386473 elfutils-0.109.tar.gz
|
0e937bb335813c0f7f734b39487a58b3 systemtap-0.2.tar.gz
|
||||||
61ba9fea530f21ab5ec33107537cea04 systemtap-0.0.0.1rm.tar.gz
|
22bf6c073290d0540cf598135f6b9f7d elfutils-0.111.tar.gz
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
%define bundled_elfutils 1
|
%define bundled_elfutils 1
|
||||||
%define elfutils_version 0.109
|
%define elfutils_version 0.111
|
||||||
|
|
||||||
Name: systemtap
|
Name: systemtap
|
||||||
Version: 0.0.0.1rm
|
Version: 0.2
|
||||||
Release: 5
|
Release: 1
|
||||||
Summary: Instrumentation System
|
Summary: Instrumentation System
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -65,14 +65,11 @@ for dir in libelf libebl libdw libdwfl; do
|
|||||||
make -C $dir install includedir=$elfutils_includedir libdir=$elfutils_libdir
|
make -C $dir install includedir=$elfutils_includedir libdir=$elfutils_libdir
|
||||||
done
|
done
|
||||||
cd ..
|
cd ..
|
||||||
libdwfl_h=$elfutils_includedir/elfutils/libdwfl.h
|
|
||||||
sed 's%<libdw.h>%<elfutils/libdw.h>%' ${libdwfl_h} > ${libdwfl_h}.new
|
|
||||||
mv -f ${libdwfl_h}.new ${libdwfl_h}
|
|
||||||
|
|
||||||
# We'll configure with these options to use the local headers and libraries.
|
# We'll configure with these options to use the local headers and libraries.
|
||||||
CPPFLAGS="-I${elfutils_includedir}"
|
CPPFLAGS="-I${elfutils_includedir}"
|
||||||
LDFLAGS="-L${elfutils_libdir} -Wl,-rpath-link,${elfutils_libdir} \
|
LDFLAGS="-L${elfutils_libdir} -Wl,-rpath-link,${elfutils_libdir} \
|
||||||
-Wl,--enable-new-dtags,-rpath,\\\$\$\$\$ORIGIN/../\\\$\$\$\$LIB/%{name}"
|
-Wl,--enable-new-dtags,-rpath,%{_libdir}/%{name}"
|
||||||
export CPPFLAGS LDFLAGS
|
export CPPFLAGS LDFLAGS
|
||||||
|
|
||||||
# We have to prevent the standard dependency generation from identifying
|
# We have to prevent the standard dependency generation from identifying
|
||||||
@ -81,6 +78,9 @@ export CPPFLAGS LDFLAGS
|
|||||||
%define filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
|
%define filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
|
||||||
%define __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
|
%define __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
|
||||||
%define __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
|
%define __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
|
||||||
|
|
||||||
|
# This will be needed for running stap when not installed, for the test suite.
|
||||||
|
%define elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure
|
%configure
|
||||||
@ -89,7 +89,8 @@ make docs
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
||||||
|
%makeinstall libexecdir=${RPM_BUILD_ROOT}%{_libexecdir}/systemtap
|
||||||
|
|
||||||
%if %{bundled_elfutils}
|
%if %{bundled_elfutils}
|
||||||
installed_elfutils=${RPM_BUILD_ROOT}%{_libdir}/%{name}
|
installed_elfutils=${RPM_BUILD_ROOT}%{_libdir}/%{name}
|
||||||
@ -97,6 +98,8 @@ mkdir -p ${installed_elfutils}
|
|||||||
cp -P lib-elfutils/*.so* lib-elfutils/%{name}/*.so* ${installed_elfutils}/
|
cp -P lib-elfutils/*.so* lib-elfutils/%{name}/*.so* ${installed_elfutils}/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check %{?elfutils_mflags} || :
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -107,10 +110,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%doc README AUTHORS NEWS runtime/docs/html
|
%doc README AUTHORS NEWS runtime/docs/html
|
||||||
|
|
||||||
%{_bindir}/stap
|
%{_bindir}/stap
|
||||||
%{_libexecdir}/stpd
|
%{_mandir}/man1/*
|
||||||
|
%{_libexecdir}/systemtap/stpd
|
||||||
|
|
||||||
%dir %{_datadir}/systemtap
|
%dir %{_datadir}/systemtap
|
||||||
%{_datadir}/systemtap/runtime
|
%{_datadir}/systemtap/runtime
|
||||||
|
%{_datadir}/systemtap/tapset
|
||||||
|
|
||||||
%if %{bundled_elfutils}
|
%if %{bundled_elfutils}
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
@ -119,10 +124,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 22 2005 Roland McGrath <roland@redhat.com> - 0.0.0.1rm-2
|
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
|
||||||
- rawhide build with unbundled elfutils libs
|
- New version 0.2, requires elfutils 0.111
|
||||||
|
|
||||||
* Fri Jul 22 2005 Roland McGrath <roland@redhat.com>
|
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
|
||||||
- Clean up spec file, build bundled elfutils.
|
- Clean up spec file, build bundled elfutils.
|
||||||
|
|
||||||
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
|
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
|
||||||
|
Loading…
Reference in New Issue
Block a user