Commit ec0c2092 authored by Vitaly Lipatov's avatar Vitaly Lipatov

drop get_rpmpkg_requires

parent 104d3e35
......@@ -70,7 +70,7 @@ install_packages()
docmd $SUDO apt-get install $LIST
ALREADYHANDLEDAPT="$ALREADYHANDLEDAPT $LIST"
REQLIST="$(get_rpmpkg_requires $LIST)"
REQLIST="$($ETERBUILDBIN/rpmreqs $LIST)"
REQLIST=$(regexp_exclude_list "$ALREADYHANDLEDRPM" "$REQLIST")
test -n "$REQLIST" || { echog "There is no more req packages to install" ; return ; }
......
......@@ -120,12 +120,3 @@ pkg_release_check()
fi
done
}
# TODO: remove for all, use $ rpmreqs instead
# copied from aptU
get_rpmpkg_requires()
{
assert_var ETERBUILDBIN
$ETERBUILDBIN/rpmreqs $@
}
......@@ -8,7 +8,7 @@ load_mod alt
#testfile=$(echo /var/ftp/pub/Etersoft/RX@Etersoft/testing/CentOS/5/nxclient-*.i586.rpm)
testfile=$(echo /var/ftp/pub/Etersoft/WINE@Etersoft/2.0-testing/WINE/ALTLinux/Sisyphus/wine-etersoft-*.i586.rpm)
#testfile=$(echo /var/ftp/pub/Etersoft/RX@Etersoft/testing/ALTLinux/Sisyphus/rx-etersoft-*.i586.rpm)
REQLIST="$(get_rpmpkg_requires -p "$testfile")"
REQLIST="$($ETERBUILDBIN/rpmreqs -p "$testfile")"
echo $REQLIST
echo "---"
trans_rpmdeps_to_pkgname $REQLIST
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment