diff options
author | Dave Brolley <brolley@redhat.com> | 2008-08-08 15:15:19 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2008-08-08 15:15:19 -0400 |
commit | 71906647386a9684086b0542318b536d95ae089c (patch) | |
tree | fb0348d7bb34095e95ad830da8e832bad9187a55 /systemtap.spec | |
parent | d5658775da9fa0ac792eb3f874df9f7c4d60de7e (diff) | |
parent | f1118e1032612170cae8cd979cd529722ad95fdb (diff) | |
download | systemtap-steved-71906647386a9684086b0542318b536d95ae089c.tar.gz systemtap-steved-71906647386a9684086b0542318b536d95ae089c.tar.xz systemtap-steved-71906647386a9684086b0542318b536d95ae089c.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts:
ChangeLog
testsuite/ChangeLog
Diffstat (limited to 'systemtap.spec')
-rw-r--r-- | systemtap.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/systemtap.spec b/systemtap.spec index 61ccd667..da2a6fb2 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -137,14 +137,17 @@ make %{?_smp_mflags} 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. +# We want the examples in the special doc dir, not the build install dir. +# We build it in place and then move it away so it doesn't get installed +# twice. rpm can specify itself where the (versioned) docs go with the +# %doc directive. mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples # 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@' # To avoid perl dependency, make perl sample script non-executable -chmod -x examples/samples/kmalloc-top +#chmod -x examples/samples/kmalloc-top # Because "make install" may install staprun with mode 04111, the # post-processing programs rpmbuild runs won't be able to read it. @@ -157,6 +160,9 @@ cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap #%if %{with_docs} # We want the manuals in the special doc dir, not the generic doc install dir. +# We build it in place and then move it away so it doesn't get installed +# twice. rpm can specify itself where the (versioned) docs go with the +# %doc directive. mkdir docs.installed mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/ #%endif |