Index: /trunk/Makefile.in
===================================================================
--- /trunk/Makefile.in	(revision 460)
+++ /trunk/Makefile.in	(revision 461)
@@ -986,4 +986,7 @@
 	@RPMTOP=`cat ~/.rpmmacros 2>/dev/null | grep '%_topdir' | awk '{ print $$2}'`; \
 	if test x"$$RPMTOP" = x; then RPMTOP=/usr/src; fi; \
+	if ! test -d "$$RPMTOP"; then \
+	  RPMTOP=`echo $$HOME/rpmbuild`; \
+	fi; \
 	echo "Searching the RPM package below $$RPMTOP ..."; \
 	RPMFILE=`find $$RPMTOP -follow -maxdepth 4 -cnewer ./samhain.spec 2>/dev/null | grep '@install_name@-$(VERSION)' | grep '\.rpm' | grep -v '\.src\.'`; \
Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 460)
+++ /trunk/docs/Changelog	(revision 461)
@@ -1,2 +1,6 @@
+3.1.4:
+	* search RPM in $HOME/rpmbuild if test -d _topdir fails (CentOS
+	  recommends '%(echo $HOME)/topdir', reported by E. Taft)
+
 3.1.3:
 	* remove initgroups() from the popen call in unix entropy gatherer
