aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-01-15 19:27:35 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-01-15 19:27:35 +0000
commit94bfcbac0fbcb0fd923a37615b0183ea16c4d906 (patch)
tree625fa1d5dc3f2e31fe2bd91c09f9a268591ac394 /macros.in
parentd7fc021589c10ed445a73d025db27acd41a3f34c (diff)
downloadrpm-setup-94bfcbac0fbcb0fd923a37615b0183ea16c4d906.tar
rpm-setup-94bfcbac0fbcb0fd923a37615b0183ea16c4d906.tar.gz
rpm-setup-94bfcbac0fbcb0fd923a37615b0183ea16c4d906.tar.bz2
rpm-setup-94bfcbac0fbcb0fd923a37615b0183ea16c4d906.tar.xz
rpm-setup-94bfcbac0fbcb0fd923a37615b0183ea16c4d906.zip
- add macros from Giuseppe for gcjdb
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index ec8feaf..e13b81c 100644
--- a/macros.in
+++ b/macros.in
@@ -158,6 +158,13 @@
%_remove_install_info() if [ "$1" = "0" ]; then if [[ -f %{_infodir}/%{1}%{_extension} ]];then %{__install_info} %{_infodir}/%{1}%{_extension} --dir=%{_infodir}/dir --remove ;fi; fi \
%{nil}
+# For rebuilding gcj-db
+%_rebuildgcjdb_bin %{_bindir}/rebuild-gcj-db
+%update_gcjdb if [ -x %{_rebuildgcjdb_bin} ]; then %{_rebuildgcjdb_bin} || true ; fi \
+%{nil}
+
+%clean_gcjdb if [ -x %{_rebuildgcjdb_bin} ]; then %{_rebuildgcjdb_bin} || true ; fi \
+%{nil}
# From rpm-helper