Ver código fonte

do not try RPM, because it could be our RPM

Ralf S. Engelschall 23 anos atrás
pai
commit
bdbfa2e699
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1 4
      perl/perl.spec

+ 1 - 4
perl/perl.spec

@@ -110,10 +110,7 @@ AutoReqProv:  no
             elif [ -f /etc/SuSE-release ]; then
                 v=`/bin/rpm -q --qf '%{VERSION}' binutils`
             else
-                v=`(rpm -q --qf '%{VERSION}' binutils) 2>/dev/null`
-                if [ ".$v" = . ]; then
-                    v=`(ld --version | grep "^GNU ld " | sed -e 's;^GNU ld ;;') 2>/dev/null`
-                fi
+                v=`(ld --version | grep "^GNU ld " | sed -e 's;^GNU ld ;;') 2>/dev/null`
             fi
             case "$v" in
                 2.1[1-9].* ) ;;