- Add zlib-devel dependency which is supposed to come from crash-devel.

Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-2
- Process testsuite .stp files to fool "#! stap" dep. finder.
This commit is contained in:
William Eden Cohen 2008-02-11 20:49:48 +00:00
parent 485424677b
commit 4d4e1ff7df

View File

@ -1,5 +1,5 @@
# Release number for rpm build. Stays at 1 for new PACKAGE_VERSION increases. # Release number for rpm build. Stays at 1 for new PACKAGE_VERSION increases.
%define release 1 %define release 3
# Version number of oldest elfutils release that works with systemtap. # Version number of oldest elfutils release that works with systemtap.
%define elfutils_version 0.131 %define elfutils_version 0.131
@ -55,7 +55,7 @@ BuildRequires: sqlite-devel
Requires: sqlite Requires: sqlite
%endif %endif
%if "%rhel" >= "5" %if "%rhel" >= "5"
BuildRequires: crash-devel BuildRequires: crash-devel zlib-devel
%endif %endif
# Requires: kernel-devel # Requires: kernel-devel
# or is that kernel-smp-devel? kernel-hugemem-devel? # or is that kernel-smp-devel? kernel-hugemem-devel?
@ -138,8 +138,8 @@ cd ..
%configure %{?elfutils_config} %{?sqlite_config} %configure %{?elfutils_config} %{?sqlite_config}
make %{?_smp_mflags} make %{?_smp_mflags}
# Fix paths in the example scripts # Fix paths in the example & testsuite scripts
find examples -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
@ -203,6 +203,12 @@ exit 0
%changelog %changelog
* 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.
* 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.
- Many robustness & functionality improvements: - Many robustness & functionality improvements: