aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index b317282..6d329df 100644
--- a/macros.in
+++ b/macros.in
@@ -219,6 +219,15 @@ for SCHEMA in %{*} ; do \
done ; fi \
%{nil}
+# Rebuild scrollkeeper database
+%update_scrollkeeper if [ -x %{_scrollkeeper_bin} ]; then \
+%{_scrollkeeper_bin} -q || true ; fi \
+%{nil}
+
+%clean_scrollkeeper if [ "$1" = "0" -a -x %{_scrollkeeper_bin} ]; \
+then %{_scrollkeeper_bin} -q || true ; fi \
+%{nil}
+
# From rpm-helper
%_create_ghostfile_helper /usr/share/rpm-helper/create-file