Blame SOURCES/redhat-rpm-config-9.1.0-find-requires-fix-detection.patch

cff7e8
--- current/find-requires.orig	2016-06-13 17:31:21.689322870 +0200
cff7e8
+++ current/find-requires	2016-06-13 17:42:04.779855644 +0200
cff7e8
@@ -21,10 +21,10 @@
cff7e8
 # --- Grab the file manifest and classify files.
cff7e8
 #filelist=`sed "s/['\"]/\\\&/g"`
cff7e8
 filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"`
cff7e8
-exelist=`echo $filelist | xargs -r file | egrep -v ":.* (commands|script) " | \
cff7e8
+exelist=`echo $filelist | xargs -r file | egrep -v ":.* (commands|script)[, ]" | \
cff7e8
 	grep ":.*executable" | cut -d: -f1`
cff7e8
 scriptlist=`echo $filelist | xargs -r file | \
cff7e8
-	egrep ":.* (commands|script) " | cut -d: -f1`
cff7e8
+	egrep ":.* (commands|script)[, ]" | cut -d: -f1`
cff7e8
 liblist=`echo $filelist | xargs -r file | \
cff7e8
 	grep ":.*shared object" | cut -d : -f1`
cff7e8