--- rpmtmp-3.0.5/lib/macro.c	Fri Aug 11 07:54:12 2000
+++ rpm-3.0.5/lib/macro.c	Sun Mar 18 09:28:55 2001
@@ -1469,6 +1469,13 @@
 		te = se;
 /*fprintf(stderr, "*** next pdir \"%.*s\"\n", (te-path), path); */
 	    }
+	    /* AIX RAM filesystem is special */
+	    if (t==path && s[1] == '.' && s[2] == '.' && s[3] == '/') {
+		*t++ = *s++;
+		*t++ = *s++;
+		*t++ = *s++;
+		break;
+	    }
 	    while (s[1] == '/')
 		s++;
 	    while (t > path && t[-1] == '/')
