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

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