diff options
Diffstat (limited to 'find-requires.in')
-rwxr-xr-x | find-requires.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/find-requires.in b/find-requires.in index 7fd1eae..09b280c 100755 --- a/find-requires.in +++ b/find-requires.in @@ -103,8 +103,7 @@ fi tmpdeplist= for f in $filelist; do dep="`echo $f | sed -n -e "s@.*/usr/lib/perl5/\(vendor_perl/\|site_perl/\|\)\([.0-9]\{1,\}\).*\\$@perl-base >= $perlepoch\2@p" \ - -e "s@.*/usr/\(lib\|lib64\)/python3\([.0-9]\{1,\}\).*\\$@python3 >= 3\2@p" \ - -e "s@.*/usr/\(lib\|lib64\)/python2\([.0-9]\{1,\}\).*\\$@python >= 2\2@p"`" + -e "s@.*/usr/\(lib\|lib64\)/python\([.0-9]\{1,\}\).*\\$@python(abi) = \2@p"`" if [[ -n $dep && -z `echo $uniqdeplist $tmpdeplist|grep "$dep"` ]]; then tmpdeplist+="$dep\n" fi |