Commit 563409ed authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: clear inherit provides and install_if for subpackages

Unexpected result will happen if subpackages inherits the provides or
install_if from main package. So we clear them.
parent 472ba168
......@@ -947,6 +947,11 @@ archcheck() {
prepare_package() {
msg "Preparing ${subpkgname:+sub}package ${subpkgname:-$pkgname}..."
if [ -n "$subpkgname" ]; then
# the subpackages should not inherit those
prepare_metafiles \
&& prepare_trace_rpaths \
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