diff options
-rw-r--r-- | systemtap.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/systemtap.spec b/systemtap.spec index d3b3f237..c0864657 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -252,6 +252,13 @@ exit 0 chkconfig --del systemtap exit 0 +%post +# Remove any previously-built uprobes.ko materials +(make -C /usr/share/systemtap/runtime/uprobes clean) >/dev/null 3>&1 || true + +%preun +# Ditto +(make -C /usr/share/systemtap/runtime/uprobes clean) >/dev/null 3>&1 || true %files %defattr(-,root,root) |