Commit 63ebf6fe authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

added add_directrequires function

parent 186c4f4a
......@@ -331,6 +331,12 @@ add_requires()
__add_tag_after_d "Requires: $*"
}
add_directrequires()
{
[ -n "$1" ] || return
__add_tag_after_d "Requires: $*"
}
add_conflicts()
{
[ -n "$1" ] || return
......@@ -375,7 +381,6 @@ add_unirequires()
fi
}
install_requires()
{
[ -n "$1" ] || return
......@@ -459,7 +464,7 @@ add_libs_requires()
info "Scanning for required libs soname ..."
get_libs_requires | xargs -n6 echo | grep -ve '^$' | while read ll ; do
info "Requires: $ll"
add_unirequires "$ll" </dev/null
add_directrequires "$ll" </dev/null
done
}
......
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