--- rpm-4.4.1/scripts/check-files.checklins	2003-12-27 13:02:20.000000000 -0500
+++ rpm-4.4.1/scripts/check-files	2005-05-17 13:47:31.000000000 -0400
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # Gets file list on standard input and RPM_BUILD_ROOT as first parameter
-# and searches for omitted files (not counting directories).
+# and searches for omitted files and symlinks (not counting directories).
 # Returns it's output on standard output.
 #
 # filon@pld.org.pl
@@ -17,7 +17,7 @@
 FILES_DISK=`mktemp $TMPDIR/rpmXXXXXX`
 FILES_RPM=`mktemp $TMPDIR/rpmXXXXXX`
 
-find $RPM_BUILD_ROOT -type f | LC_ALL=C sort > $FILES_DISK
+find $RPM_BUILD_ROOT -type f -o -type l | LC_ALL=C sort > $FILES_DISK
 LC_ALL=C sort > $FILES_RPM
 
 for f in `diff -d "$FILES_DISK" "$FILES_RPM" | grep "^< " | cut -c3-`; do
--- rpm-4.4.1/build/files.c.checklins	2005-05-17 13:47:31.000000000 -0400
+++ rpm-4.4.1/build/files.c	2005-05-17 13:47:31.000000000 -0400
@@ -1610,7 +1610,7 @@
 	fileGname = getGname(getgid());
     
     /* S_XXX macro must be consistent with type in find call at check-files script */
-    if (check_fileList && S_ISREG(fileMode)) {
+    if (check_fileList && (S_ISREG(fileMode) || S_ISLNK(fileMode))) {
 	appendStringBuf(check_fileList, diskURL);
 	appendStringBuf(check_fileList, "\n");
     }
