diff options
-rw-r--r-- | autodeps/linux.req | 5 | ||||
-rw-r--r-- | fileattrs/script.attr | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req index cf60bd9ac..b9a8f999c 100644 --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -20,10 +20,11 @@ fi # --- Grab the file manifest and classify files. #filelist=`sed "s/['\"]/\\\&/g"` filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` -exelist=`echo $filelist | xargs -r file | grep -Ev ":.* (commands|script) " | \ +exelist=`echo $filelist | xargs -r file | \ + grep -Ev ":.* (commands|script)[, ]" | \ grep ":.*executable" | cut -d: -f1` scriptlist=`echo $filelist | xargs -r file | \ - grep -E ":.* (commands|script) " | cut -d: -f1` + grep -E ":.* (commands|script)[, ]" | cut -d: -f1` liblist=`echo $filelist | xargs -r file | \ grep ":.*shared object" | cut -d : -f1` diff --git a/fileattrs/script.attr b/fileattrs/script.attr index 13b8ba0b6..79f4d7374 100644 --- a/fileattrs/script.attr +++ b/fileattrs/script.attr @@ -1,3 +1,3 @@ %__script_requires %{_rpmconfigdir}/script.req -%__script_magic ^.* script text.*$ +%__script_magic ^.* script[, ].*$ %__script_flags exeonly |