From 95e2e0ded86b79d53812c629f5c50fae806c5e51 Mon Sep 17 00:00:00 2001
From: gbenson <gbenson@fedoraproject.org>
Date: Mon, 23 May 2005 13:03:37 +0000
Subject: [PATCH] Use absolute paths for rebuild-gcj-db

---
 xerces-j2.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/xerces-j2.spec b/xerces-j2.spec
index 3e060c8..ffb76d0 100644
--- a/xerces-j2.spec
+++ b/xerces-j2.spec
@@ -229,7 +229,7 @@ ln -s %{name}-xni-%{version} %{_javadocdir}/%{name}-xni
 %post
 update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
   jaxp_parser_impl %{_javadir}/%{name}.jar 40
-rebuild-gcj-db %{_libdir}
+/usr/bin/rebuild-gcj-db %{_libdir}
 
 %preun
 {
@@ -238,7 +238,7 @@ rebuild-gcj-db %{_libdir}
 } >/dev/null 2>&1 || :
 
 %postun
-rebuild-gcj-db %{_libdir}
+/usr/bin/rebuild-gcj-db %{_libdir}
 
 %files
 %defattr(0644,root,root,0755)
@@ -285,6 +285,7 @@ rebuild-gcj-db %{_libdir}
 %changelog
 * Mon May 23 2005 Gary Benson <gbenson@redhat.com>
 - Add alpha to the list of build architectures (#157522).
+- Use absolute paths for rebuild-gcj-db.
 
 * Thu May  5 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_5fc
 - Add dependencies for %post and %postun scriptlets (#156901).